Move flatten_parameters_to_string functionality to where it was used

Improved this function with itertools' chain method and tested the
transition.
Remove redundant list calls
Improve readability of intFloor function

Add docstring.
Expanded arguments for calling functions to avoid hiding what we're
doing in args/*args.
Remove redundant prints
Replace % formatting with str.format
Set up Travis continuous integration testing.

Code nicked from
http://www.tomaz.me/2013/12/02/running-travis-ci-tests-on-arm.html
Fix perms and build dependencies