Configuration for continuous integration service

Added travis configuration and some news tests case.
[Travis](http://about.travis-ci.org/docs/) is a hosted continuous integration service for the open source community.
Take a look [here](http://about.travis-ci.org/docs/user/getting-started/) to know how easy is the configuration for continous integration service.

Hope you'll enjoy it.