added missing exception use
removed unused use
corrected throws docblock
updated exceptions and docblocks
tidied exception use statements
tidied return docblock tag
fixed incorrect string returns
tidied ajax returns
updated deprecated tags