Don't sort todos when counting them

Grouping isn't as lax in PostgreSQL as it is in MySQL or SQLite. All
sort fields also need to be in the GROUP BY, or be aggregated. The order
isn't relevant when counting, so simply don't order in that case.

Fix #1336
Merge pull request #112 from zoombody/postgres

Don't sort todos when counting them
set up Travis CI for Tracks
create a copy of site.yml on Travis
Use mysql for all databases in the template file

Sqlite is not in the Gemfile so it makes no sense to have it in the
database.yml.tmpl file.
create a copy of database.yml on Travis
run the database migration as part of the ci build
fix the migration task name for the ci task
Don't run the cucumber features as part of the ci task.

They take too long to run.
Don't run CI on 1.8.7.

factory_girl requires 1.9.3
[ci skip]
update to jQuery UI 1.9.0
Merge pull request #114 from mattr-/upgrade-jquery-ui

update to jQuery UI 1.9.0
restoring route of /m instead of just /mobile
Changing mobile layout so that links always show so link fill across
adding links to footers to go between mobile and full site
adding home link to mobile footer to fill it out
Merge pull request #115 from maddentim/fixes

Fixes
Render task-complete checkbox for mobile

Fixes #1346
Fix visible HTML tags in mobile flash
Replace hard-coded footer link to mobile site