Adding collection limit parameter and Travis config

Hi there, I've been using your project for a personal project on a RaspeberryPi and I found that a limit would be applicable so I implemented it.

I also configured Travis on it. It would be a good idea to setup Travis yourself but I'm pushing the YML file and all you have to do is hook your repository to it.

Thanks