Tidy up achievement module
Implemented exercise module
Implemented more user methods
Fixed bug in core module
Tidied up database module
Implemented packages

Converted user.js and notifications.js to packages! The rest of the
modules need converting.