Merge pull request #6 from nfreader/messages

Woo woo!
Not sure what's going on here. Git is super dumb.
Merge branch 'master' of https://github.com/nfreader/ssim
Cleaning up messages

Closes #13
Closes #12
Closes #15
Basic message notifications

Very unrobust for now. Just you wait though…
Thread deletion

Closes #16
Message thread cleanup
Send message buttons

Closes #10
Empty messages are not allowed!

Closes #18
This also adds a super useful isEmpty() function!
Game event logging

Commodity transactions are now logged to the game events table and the
admin section log.
Document mechanism is in!

You can generate documents
Basic document functionality is in.

Still needs some work, but that’s a job for another branch
Merge pull request #20 from nfreader/documents

Documents
Starting work!

Dat goto tho
Mission listing

Including the necessary SQL to determine how much commodity cargo is
worth at its destination
Tweaking SQL for getMissionList

Simplified to use aliases for price at the cost of non-commodity cargo.
More mission viewing abilities

Along with a handful of tweaks to the CSS and event logging that
technically shouldn’t be in this branch but whatevs
Can't stop tweaking

Also a reminder that YOU’RE ON THE WRONG BRANCH
Do you like SORTING THINGS?!

Because now you can SORT all SORTS of THINGS. Just so long as those
THINGS are valid <tables> with <thead> and <tbody>. Don’t forget that
<table> needs a SORT class applied.
Generic "I don't want to lose my work" commit