New travis build script

Script for building packages programmatically to resolve dependencies. I have followed the following steps to build a package:
* `cabal install --only-dependencies`
* `cabal configure --enable tests`
* `cabal build`
* `cabal test --show-details='failures'`
* `cabal install`

The execution stops if any of the steps in any of the packages fails with appropriate exit-code.