Fix build specs and split shipment edit button [Fixes #3167]

They were mostly failing due to a js error and shiping labels
Bump caypbara to 2.1.0:

* Add timeout into config/database.yml template to avoid SQLite3 DB locked out
* Use lenient non-exact setting for Capybara element matcher (same as 1.x)
Capybara 2 updates.