Fix cronjob for db backup.

Extend test for cronjob.
Fix ruby-1.8.7 syntax error in spec test for TravisCI
Merge pull request #43 from rwaffen/fix_cron

Fix cronjob for db backup.