Refactor test code to reduce duplication

Change-Id: Ie196e02926bd0a38277eee93c3c2063337ff2b25
Closes-bug: 1365959
Switch to xstatic-bootstrap-datepicker

This points to datepicker 1.3.1 in xstatic.
Also fixes a couple of minor bugs in forms with
the new datepicker. The datepicker patch is:
https://review.openstack.org/#/c/116866/

Change-Id: I0a8cb7a16e50addbbdb10df8bdd4be427937bd81
Closes-Bug: 1361666
Order tenants in tenant switch list

Currently tenants are displayed in random order in tenant switch list.
This change display them ordered.

Closes-Bug: #1368757
Change-Id: Ifc49b90b98d69254bf5e05206a334981c507a920
Corrected dash.can_access call to take context

horizon_main_nav makes a call to dash.can_access which should take
context but was being passed the request, this patch corrects that.
Unit test added to prevent regression, and fix added to RbacHorizonTests
to clean up changes to Cats and Dogs test dashboards, as it was
affecting any test that followed.

Change-Id: I46d9880ba3ac46c23a8253a4afcf2c169d6f4dc8
Closes-Bug: 1368673
Imported Translations from Transifex

Change-Id: If0e5bccce9a0464522eab08dd4b3ed19f82fe507
Merge "Imported Translations from Transifex"
Merge "Refactor test code to reduce duplication"
Merge "Switch to xstatic-bootstrap-datepicker"
Merge "Order tenants in tenant switch list"
Merge "Corrected dash.can_access call to take context"