PSR fixes and composer implementation

Lots of PSR-1 and PSR-2 fixes. Mainly LOTS of whitespace changes (spaces, not tabs!). Remove metadata files from repo. Dependancies are now via composer. Changed README to include composer info. Cleaned up SQL schema so that all tables are UTF-8, removed unnecessary data (successful logins, etc).