Fix flavorid calculation for new flavors.

Change-Id: I620824e82ffbb89c91dacce19509d63b6e1eb7d4
Fixes: bug #1116913
Return a friendly error at flavor creation

When trying to create a flavor with an Id/Name that is already in use, the
operation fails and no error message is being displayed

Change-Id: I92db8b52bc4e63e5e5ce4d90169944e484baeddd
Fixes: bug #1079155
(cherry picked from commit dcda6940263a43344bf98aa1776cce34d25ff927)
If a user only has 1 keypair, this keypair should be selected by default

When Launching a new instance, it's easy to forget to select a keypair
as it's hidden in another tab. This mitigates the issue by selecting a
keypair automatically when there is only one.

Fixes bug #1125124

Change-Id: I04cd6850b4b5f0901d2f9035af8df53cfb67f8c5
Prevent creating a single IP address sized network (network details)

The backport for bug #1102504 was incomplete and did not cover
providing the same error message when creating a subnet from the
network details page.

This additional patch is not needed on the master branch, as subnet
creation was refactored during the grizzly cycle.

Fixes bug #1149890

Change-Id: I451e37c347a6540825ad9bf66d4a32c39601dd19
Dynamically size the noVNC iframe, fix typos in copy

The iframe for the noVNC console is too small for some users who
like to use GUI on the console.  Leaving the sizes off completely
and letting the browser figure it out causes hilarity to ensue, so
explicitly set the height and width to quasi-sensible values.

Also, the "unavailable" error says "unavailabe"  Fixed.

Fixes Bug 1050316

Addendum:

add an identifier to the iframe rather than using the auto-generated selector

Cherry-picked and squashed from grizzly commits: 68db72b95f and a37779c47d

Change-Id: I17cfa97cdc69f4b58e18d02451da2197c663e0d3
Improve error message when network creation fails

Enhanced error messages extracted from grizzly commit 31d55e503d

Fixes bug #1152619

Change-Id: I318eddaed3cbd352fe7ed7e47a196f29111f62f8
Merge "Return a friendly error at flavor creation" into stable/folsom
Merge "Fix flavorid calculation for new flavors." into stable/folsom
Merge "Dynamically size the noVNC iframe, fix typos in copy" into stable/folsom
Merge "If a user only has 1 keypair, this keypair should be selected by default" into stable/folsom
Merge "Improve error message when network creation fails" into stable/folsom
Replaces ugettext with ugettext_lazy in the dashboard-related files

While most files correctly import ugettext_lazy, some are importing ugettext instead.
This is causing some parts of the dashboard to not translate correctly when a user
switches languages. The core cause of this is because ugettext will translate the
string once when the django application starts. ugettext_lazy will translate when the
string is retrieved.

Change-Id: I44a394f4cda3b0f019e5a4601d4fa44fc110f939
Fixes: bug #1124276
Merge "Prevent creating a single IP address sized network (network details)" into stable/folsom
piston css
no double slash
Merge pull request #2 from fattarsi/updates2

piston css
Merge pull request #3 from fattarsi/branding

no double slash
use piston favicon, more verbose piston stylesheet info
Merge pull request #4 from joshuamckenty/uservoice

Uservoice widget
Added javascript for default uservoice tab.