I know some canons that will accept anything that doesn't directly contradict established material, and throws the entire installment it out the window when established events are broached, and others that officially license Expanded Universe works and treat them as just as canonical as the main source. Then there are others that accept any material given to them, but throw certain volumes out selectively for being stupid, driving people out of character, etcetera. Then there are universes like Star Trek, in which the episodes are the only canon, and all of the books and comics are shunted off into alternate universes that have become so tightly knit with each other's backstories and histories that they might serve as an independent canon if necessary.
Just because someone has a license to write in the universe, that doesn't mean that the creators want the material, or that they will accept it. Even if official policy makes a certain material canonical, an unaware or spiteful writer might deliberately write over it, figuratively speaking, if it doesn't mesh with his views of how the story should go, even if some of the written-over material was previously part of the "alpha" canon, which creates what is commonly called Continuity Snarl.
In answer to your two direct questions, yes, the tie-in books of most franchises are officially sanctioned fanfiction. Even the Star Wars Expanded Universe, which makes up almost all of the Star Wars material, is technically fanfiction, and the people at Lucasfilm can and will steamroll over it if they think they have a good idea for a new video game or some such.
An EU can be treated as canon, but only the central portions of the franchise are "real" in most cases, and sometimes, not even then. In continuities prone to mass retconning, like DC Comics, this latter point can be a big problem.
Doctor Who EU in particular was, at least up to the end of the Russel T. Davies era, treated as canonical if it didn't try to mess with the established material of episodes to make a story with "higher stakes" or some such. See War of the Daleks for a particularly blatant example of attempted retconning that was treated as, as I've heard said "a big no-no".
I don't know how the Steven Moffat era treats it. I've seen one episode where the Doctor mentions a few species only ever seen in the EU, and I've seen plenty more where several previously established points in Classic Who and the EU were abandoned for cheap kicks.
For your last question, the M. Night Shyamalan The Last Airbender movie is not considered canon to the cartoon. Both the fans and creators have disavowed it, and at any rate, since it takes place within the same timeframe as canonical events but treats them far differently, to say nothing about the OOC that we see rampant in the storyline, it would be an Alternate Universe story at best.
(By the way, what were the inconsistencies specific to Asylum of the Daleks? I watch Doctor Who on Netflix, so I've not seen most of Series Seven yet.)