added tests for timeout behavior

Tests for correct behavior when estimateSize times out and fails
for any other reason
Factored out timeout handling
fixed whitespace
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch dl_estimate_speed_fixes
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#	modified:   src/test/javascript/portal/cart/DownloadEstimatorSpec.js
#	modified:   src/test/javascript/portal/cart/DownloadPanelItemTemplateSpec.js
#	modified:   web-app/js/portal/cart/DownloadEstimator.js
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	web-app/js/GeoExt1.1/resources/images/default/anchor_new.png
#	web-app/js/GeoExt1.1/resources/images/default/anchor_top_new.png
#	web-app/js/portal/cart/.vagrant/
#	web-app/js/portal/cart/Vagrantfile
Added newline at end of file
Fixes #853 time slice reset on layer switch

When switching layers the time slice selectors were being defaulted back
to the max and min values of the extent.
Ensure the isDirty check can be performed correctly based on changed field
Refactor time range label into custom class
Merge branch 'master' into issue-853
Changes made to unit tests as per review
Unit tests actually work now
Unit tests actually work now
Merge pull request #911 from aodn/dl_estimate_final_fix

Handles timeouts in estimateSizeForLayer
Changes as per review
Merge branch 'master' into issue-853
Changes to wording for download button and estimator
Revert "Changes to wording for download button and estimator"

This reverts commit 71a4fe20cd4640c3e4cddd6c4c148cb6a9084e6a.
Revert "Merge pull request #911 from aodn/dl_estimate_final_fix"

This reverts commit f53ac80621400ea97b2d068c526457a245025084, reversing
changes made to 78cd0272ca941ddf66a04015b53f3d10ebe98bdd.
Added custom UTC format method to moment prototype

DRY up calls to our displayed UTC date format
Merge pull request #915 from aodn/issue-853

Issue 853
Changes to downloadEstimator on rebased branch
Merge pull request #921 from aodn/download_est_merge_fix

Changes to downloadEstimator on rebased branch
Merge from master