Refs #9798. Checking dimension ranges for bad values.
Refs #9798. Fixing patch issue.

This stemmed via branching from a stale tag.
Cherry-pick fixes from bugfix/10012_maintain_file_var_in_script_window

into next

Changes:

    Keep special __file__ variable when clearing Python locals...

    in MantidPlot.
    Refs #10012
    (cherry picked from commit eb4b296f8b9aef9388106591153b2b09c8d8bb72)
Cherry-pick fixes from feature/9956_SURF_params into next

Changes:

    refs #9956. IDF Params corrected

    Checked the params against all those provided by Max.
    (cherry picked from commit dfb8e87edfa0309fc7f00e7f200ada62f4fe0787)
Cherry-pick fixes from feature/10095_speed_up_ISIS_LiveListener

into next

Changes:

    re #10095 speed up, made fakepacket sending more like real
    (cherry picked from commit 7924f9dc601fbde11471d3ff8e8bb59818fa8203)

    re #10095 speed up, made fakepacket sending more like real
    (cherry picked from commit bfb8a90c46d93e973df3da0594d031065cb64772)

    re #10095 fix name clash with unit test
    (cherry picked from commit a846630235658e2f39ceb2d849db10a1a59554ce)

    re #10095 revert from develop
    (cherry picked from commit a68e64a500aab3f9820628339cb0f0a605e0653d)

    re #10095 revert the revert and avoid the facility name TEST
    (cherry picked from commit 2187b54b11655a24ec590eccd82151f4dac7dc76)

    re #10095 Minor change to the TEST_LIVE facility
    (cherry picked from commit d11d495902b96183fd7dd0dd9bf9233f665f5040)

    re #10095 clear a warning
    (cherry picked from commit ca1be6fa14bbb651fef42c4fe2e35eca3aa88a17)
Cherry-pick fixes from feature/9671_TEST_Facility into next

Changes:

    re #9671 improve running and progress reporting for FakeISISEventDAE
    (cherry picked from commit 839fc5cd6acd27fa58749183a21819f6950f1112)

    re #9671 improve running and progress reporting for FakeISISEventDAE
    (cherry picked from commit ec02ef5e977dc1f7ef7fb3de37bfdbd5901dd3dd)

    re #9671 documentation improved
    (cherry picked from commit b38cdebb804c8ec60567dfbce59364b2edeeca5d)

    re #9671 Adjusted default ports to avoid linux clash
    (cherry picked from commit 010a8c77c35c0426b65dc3caee336307998cd5b1)

    re #9671 resolve unit16_t problem on linux
    (cherry picked from commit b5a81d9e4ddff09f1734d3e6ebdae79cbfc1b313)

    re #9671 resolve warning
    (cherry picked from commit f2d38fb84d5df5ed437888b59a7c466480a41d79)

    re #9671 re-enable disabled tests
    (cherry picked from commit 1b21a827254263dbd4369296487cf82f585c6642)

    re #9671 return the troublesom test to windows only
    (cherry picked from commit 3d463b9056307d37516a519d6eac4014b342662d)

    re #9671 resolve mac catastrophic error - very dramatic
    (cherry picked from commit 73bce9c3eb8a2a2895b2fc1b7e91cd4d5e011a39)

    Rework live data examples to avoid slow threads on RHEL6/python 2.6

    Refs #9671
    (cherry picked from commit d8489189f45c4c62d4d1f1adacd5aac5083eb24a)

    Put back algorithm that that was removed by accident.

    Refs #9671
    (cherry picked from commit 09fac9e766f8c120fd4440c845e22225d3990cad)

    Fix compiler conversion warnings.

    Refs #9671
    (cherry picked from commit feeab9bbdb7d0d345be73d9f0c68289ac4dedc9e)

    Remove cout debugging statement.

    Refs #9671
    (cherry picked from commit f7b231e014bab314f4f60c585f77674f5bc6cac4)

    Suppress gcc 4.4 warnings.

    Refs #9671
    (cherry picked from commit df6dd4713eaf53ce4e1a4f19f9eb879671eace55)
Merge branch 'bugfix/9798_sliceviewer_inf_dim' into next