Added database-based yml build config #2

History: https://github.com/Block8/PHPCI/pull/298