Persist a post login redirect through login failiure

This is done by populating the hidden 'next' field with its own value on post if there is not a next url parameter
fix #210
comment on location
Merge pull request #211 from UniversityRadioYork/show-errors

fix #210
SuperfluousWhitespace
ClassDeclaration
ControlStructureSpacing

Also make some long lines shorter
ControlStructures
DisallowTabIndent
ElseIfDeclaration
EndFileNewline
FunctionCallArgumentSpacing
FunctionCallSignature
MultiLineFunctionDeclaration
NamespaceDeclaration
ScopeClosingBrace
ScopeIndent
UseDeclaration
ValidDefaultValue
remove officer base code