Added teaspoon to allow the testing of javascript view models.
Changes to the PaginatingViewModel to allow tests to be performed against it.