Some more modifications to php and js.
Bugfixes for sprint. (updating/inserting to database works again after changes to js and php for multiple authors and categories)