Refresh the firmware page after downloading image

Fix includes
- Polling the number of software objects for a new image. During
  which time the 'Downloading in progress' status bar will be
  displayed. A 2-minute timeout is used.
- Displaying a 'Download complete' message if the download succeeds
  and refreshing the firmware page to show the new image once it is
  downloaded.
- Displaying an error pop-up with reason for failure when the
  download fails.

Resolves openbmc/openbmc#3054

Change-Id: I79a8b8c661c01474a12cef4af524cafdc2cee1fe
Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>
diff --git a/app/configuration/controllers/firmware-controller.html b/app/configuration/controllers/firmware-controller.html
index c30b4d2..2e5bf25 100644
--- a/app/configuration/controllers/firmware-controller.html
+++ b/app/configuration/controllers/firmware-controller.html
@@ -47,6 +47,7 @@
 				</div>
 				<div class="inline uploading" ng-show="downloading">Downloading in progress...</div>
 				<p class="download_error error-msg" ng-show="download_error_msg" role="alert">{{download_error_msg}}</p>
+				<p class="download_success" ng-show="download_success" role="alert">Download complete. Check image tables above.</p>
 			</fieldset>
 		</div>
 	</form>