Fix issues with importing the Login form

The Login form lives in openstack_auth.forms and should be directly
imported from that file.

Change-Id: I42808530024bebb01604adbf4828769812856bf3
Closes-Bug: #1332149
(cherry picked from commit 345ccc9d503e6e55fe46d7813958c0081cc1cffe)
Fix multiple Cross-Site Scripting (XSS) vulnerabilities

 * Ensure user emails are properly escaped

User emails in the Users and Groups panel are being passed through the
urlize filter to transform them into clickable links. However, urlize
expects input to be already escaped and safe. We should make sure to
escape the strings first as email addresses are not validated and can
contain any type of string.

Closes-Bug: #1320235

 * Ensure network names are properly escaped in the Launch Instance menu

Closes-Bug: #1322197

 * Escape the URLs generated for the Horizon tables

When generating the Horizon tables, there was an assumption that only
the anchor text needed to be escaped. However some URLs are generated
based on user-provided data and should be escaped as well. Also escape
the link attributes for good measure.

 * Use 'reverse' to generate the Resource URLs in the stacks tables

Closes-Bug: #1308727

Conflicts:
	horizon/tables/base.py
	openstack_dashboard/dashboards/admin/users/tables.py

Change-Id: Ic8a92e69f66c2d265a802f350e30f091181aa42e
Update test-requirements to fix sphinx build_doc

Sphinx-1.2b3 is failing with this error: "'source_dir' must be a
directory name". This change prevent that sphinx version from being
pulled, it's a backport of 6a276638

Change-Id: Ic63d776bec5c0ace7207a532c29ee193d171ee63
Closes-Bug: #1339273
Merge "Fix multiple Cross-Site Scripting (XSS) vulnerabilities" into stable/havana
Replace UserManager with None in tests

Don't access keystoneclient's UserManager in tests. This should be
considered private data of keystoneclient and is not actually used by
horizon tests.

Conflicts:
	openstack_dashboard/test/test_data/keystone_data.py

Change-Id: I261e79b31dfc7388adb3dc63a3a5e54042f05e54
Closes-Bug: #1347236
(cherry picked from commit 821619fff324ba1bc3f697f585a0c350573f24a2)
Fix XSS issue with the unordered_list filter

When using the unordered_list filter in a Horizon table (as opposed to
a template directly), autoescaping is not set by default and the input
wasn't sanitised.

Closes-Bug: #1349491
Change-Id: Id82eefe48ccb17a158751ec65d24f3ac779380ec
Merge remote-tracking branch 'os/stable/havana' into cis-havana-staging

Conflicts:
	horizon/static/horizon/js/horizon.instances.js
	horizon/tables/base.py
	openstack_dashboard/dashboards/admin/groups/tables.py
	openstack_dashboard/dashboards/admin/users/tables.py
	openstack_dashboard/dashboards/project/stacks/tabs.py
Merge pull request #11 from retr0h/cis-havana-staging

Cis havana staging
Merge remote-tracking branch 'origin/cis-havana-staging' into cis-havana