Pin memcached down to 1.3.7, since >= 1.4.1 fail to install.

* https://github.com/evan/memcached/issues/113
Rename seed.rb to database.rb
Check for db/migrate/*.rb before running dm:migrate:up.

* If there are no explicit migrations, run dm:auto:upgrade instead.
DRY of the html_parts and text_parts methods
Refactored with hash
Merge pull request #1071 from Ortuna/refactor-mail

DRY of the html_parts and text_parts methods
Merge pull request #1070 from postmodern/database_tasks

Database tasks
Merge pull request #1069 from postmodern/memcached_is_broken

Pin memcached down to 1.3.7, since >= 1.4.1 fail to install.
Merge remote-tracking branch 'upstream/master' into super-admin