fix User#recent_threads for postgresql
Test-user receives message after registering banned username
Create user model tests for is_active, unban, is_banned and is_new
Merge pull request #108 from abutler3/master

add tests for recent changes to User model
optimize database queries for "Your Threads" page
fix DOM structure when replying to or updating comments
rebuilt comment tree DOM structure as valid HTML
use standard create/update comment routes
Merge pull request #104 from srgpqt/master

fix DOM structure when replying to or updating comments
Merge pull request #106 from srgpqt/recent_threads

fix User#recent_threads for postgresql
enable "reply" function on the "Comments" page
Merge pull request #111 from srgpqt/master

enable "reply" function on the "Comments" page
give tedu his karma back

fix bug introduced in 3757b279 that gave comment vote karma to the
voter rather than the commenter
unbreak story previews

@comments is nil, but there's no point in showing an empty comment
tree anyway
tighten up comment tree spacing just a tad
show full story threads when highlighting a comment

we're not paginating (yet) so just show the whole thread like normal
and highlight the specific comment which gets scrolled to

closes #107
use one of gravatar's default avatars rather than our own
be a good pushover user and let the user specify a sound

- move pushover particulars into User model
- Pushover class rescues errors, don't need to do it from User
use false instead of 0 for boolean column in where clause

fixes #113
be explicit about which route formats are accepted