Let `name` be an optional parameter and add tests

This adds a **really** simple test suite and makes `name` an optional
parameter, defaulting to `method`.
Update the README and set-up travis-ci

This set-up continuous integration and adds badges for build and
dependencies statuses.
Bump version to 2.1.0 and publish