Added support for PHP 5.4 and Homestead
Moved timespan helper to package & improved
Tidied up database config file