Set onDelete property for category_id foreign key
Refactor Auth::attempt() call parameters

Previously the second parameter for "remember me" was a boolean
expression within the method call. This has been refactored out to a
seperate variable which is referenced by the method call.
Update foreign keys to use "associate" and "save" methods