Work toward Python 3.4 support and testing

Change-Id: Ic4e5af990d5a3dc85de2f90ea41189cb4a5d99fa
Correct protocol/action initial values provided to UpdateRule

Currently protocol/action initial values in UpdateRule are incorrectly
formatted: neutron returns lowercase protocol/action strings but
UpdateRule form expects uppercase strings as initial values which
implies to reorder protocol/action choices to select the right initial
values.

This change corrects initial values provided to UpdateRule which allows
to remove the trick in UpdateRule.__init__ and initial protocol/action
values become translatable.

Change-Id: I7145dd591581a7e5e3fb0591518d0e1564f38c10
Remove @author tags from copyright statements

We have git to track the authorship of files. It is not necessary to use
the @author tags in the copyright statements.

Change-Id: Ib99e53323dba7315a6c8cf73ba4c7eb7c9803ac3
Add workaround for StaleElementReferenceException

StaleElementReferenceException occurres when accessing web element that
was reloaded but looks the same. It happens for example when trying to access
form under Project/Data processing/image registry -> register image. It
is ussually caused by javascript that is loading the page or by mistake
in script logic.

This patch wraps the WebDriver and WebElement classes and catches the
occurrence of StaleElementReferenceException and tries to find the web
element again. Till maximum limit is reached or top element is reached
as this suggest that mistake was made by programmer.

Closes-Bug: #1353342

Partially implements blueprint: selenium-integration-testing

Change-Id: I8e24e952e0fb81bed21b7139870d6d7506509c93
allow empty device name when launching an instance

From comment 9 on Nova bug 1337821, the device name should be optional
and can cause issues if we force the user to select one and they enter
an incorrect value. We should make the field optional (and make sure
we still create the instance correctly in these cases.)

Change-Id: I7745b67bc52bbfbb98aa223b6e14ae2f96d81339
Closes-Bug: 1339760
display boolean and json parameters in stack launch form

Horizon fails to render boolean and json parameters properly in the
stack launch form, instead of rendering these fields it renders a
duplicate of the previous field.

Change-Id: Idb2fcf4b52578951fb578138a80529eefc140d1a
Closes-Bug: 1360495
Add check for makemessages in tox.ini PEP8

This commit adds a check of extracting message catalogs to
tox PEP8 check. It is useful to avoid a bug like bug 1379054.

It also fixes a warning "WARNING:root:No local_settings file found."
in run_tests.sh --makemessages and --compilemessages by specifying
Django settings.

Closes-Bug: #1379507

Change-Id: I5541e28a87d48601202bf8180a18eadb5a91770b
Sync oslo-incubator for fileutils, log and policy

Sync from oslo-incubator commit 4504e4f4917d99c4889a8a5b7907d6b23ced2ffc

Additional changes:
- remove excutils since this already moved to oslo-utils
- added _i18n.py workaround from oslo-incubator, required while transitioning
to oslo.i18n
- fix openstack_dashboard/policy.py to work with latest policy code

Change-Id: I904b9af517cc85e0cc041a1467d6fda599d8d3a1
Partially-Implements: blueprint improve-oslo-usage
Migrate jsonutils to oslo.serializer.jsonutils

Removing the local copy since we are now referecning the code in
oslo.serializer.

Change-Id: I86fbef479777c38fe4d3e5aad99595371c404988
Partially-Implements: blueprint improve-oslo-usage
Use strutils from oslo.utils

Rather than sync'ing with oslo-incubator, let's use the library
oslo.utils instead. Removing the local copy of strutils.

With removal of strutils in local, gettextutils is now safe to
remove as well.

Change-Id: I0d98d41b03d105e34933efcdb5c60020141e13fb
Partially-Implements: blueprint improve-oslo-usage
Updates to horizon settings.rst

Added documentation for auto_fade_alerts.

Also added to the OpenStack section documentation for:
OPENSTACK_API_VERSIONS,
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT,
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN,
OPENSTACK_KEYSTONE_BACKEND,
CONSOLE_TYPE,
TROVE_ADD_USER_PERMS,
TROVE_ADD_DATABASE_PERMS.

In the Django section, added ALLOWED_HOSTS
and a note about use of SECRET_KEY.

Closes-Bug: #1221115
Change-Id:  I16596fef2af62b892cef00ab25e2bfe4a80e1c65
Merge "Remove @author tags from copyright statements"
Merge "Add workaround for StaleElementReferenceException"
Merge "allow empty device name when launching an instance"
Merge "Correct protocol/action initial values provided to UpdateRule"
Merge "display boolean and json parameters in stack launch form"
Merge "Updates to horizon settings.rst"
Merge "Sync oslo-incubator for fileutils, log and policy"
Merge "Migrate jsonutils to oslo.serializer.jsonutils"
Merge "Use strutils from oslo.utils"