Add e2e test for bootstrap(), tests for CSS class handling

Create a jasmine 2.0 -style test helper to remove boilerplate
and ease up potential migration to jasmine 2.0.