Bootstrap 3

These are the (immediately obvious) changes required for the project to work with Bootstrap version 3. If a bootstrap3 branch could be created upstream, these changes could go into there.

While it would be possible to edit the code so it uses both the new and old classes (and as a result is backwards compatible and needs no second branch), it would not be good practice in my opinion and so I have not done so.