Rails 4 requires method specified.

Previously we used matched but we should have used post (or via: :post). This
is not required in Rails 4 but should be backwards compatabile with Rails 3.
More hooks

Allow app to determine next page. Also adjust the markup to allow better
hooks for integration.
Bump version