Added the Travis badge.
Constructor argument is now an object.