Added base for notifications & general cleanup

Cleaned up a bunch of redundant code while adding the base for the new
notification system on Fakku.
Only thing left to do is make an interface for the data.