fix travis environment

- add a bootstrap file for travis
- add a better file search logic in AllTestsUnit.php
- add database environment