Style network address for subnet as required field

It does this by adding the required class to the network address field when the
checkbox is enabled.

I have also made the checkbox behave like a switchable select so when the create
subnet checkbox is checked all fields are visible. There are hidden when create
subnet is unselected.

Change-Id: Id45d5ce2a1bb55e4bcaa33df065ca2b1ccee3c7e
Closes-bug: 1367858
Dismiss flavor detail pop-over on users next click

In the Instances table under Projects, when we click the flavor
link under Size column, a flavor details pop-over shows up.
Currently we cannot dismiss this pop-over unless user clicks the
flavor link again.

This patch is intended to fix this issue by dismissing the pop-over
on the user's next click.

Change-Id: I46e4d368ef174f04f245be8eef8b3b244c5d1201
Closes-Bug: #1370133
Merge "Style network address for subnet as required field"
Merge "Dismiss flavor detail pop-over on users next click"