Merge pull request #329 from vrockai/master

Console: Loader code refactored
Refactor http test methods up into AbstractHttpResourceTestCase so all modules can use them, and added some additional helpers for different formats
LIVEOAK-563: throw an error if a readonly value is attempted to be modified in scripts, rather than silently doing nothing.
Merge pull request #330 from mwringe/LIVEOAK-563

LIVEOAK-563
Simplify test methods for http calls
 - Add Assertions for handling HttpResponse and HttpEntity
 - Update test methods to use new Assertions
LIVEOAK-534: Enhancements to business logic:
- Create scripts resource when not present;
- Redirect to scripts list after creating/updating script;
- Correct number of scripts in applications list;
Merge pull request #331 from ammendonca/LIVEOAK-534-II

LIVEOAK-534: Enhancements to business logic:
Refactor test methods to simply usage of more common HTTP calls with JSON
Fix capitalization of getJSON()
Merge some test methods to reduce test time
Modify HttpResponseAssert to provide an isNotAcceptable(String) method that checks for error-type of NOT_ACCEPTABLE and matches the message content
Merge SCripts test methods to improve speed of tests
Improve fluent methods on HttpResponseAssert
 - assertThat(response).isNotAcceptable("error message") becomes assertThat(response).isNotAcceptable().with("error message")
LIVEOAK-570 POSTing a Resource Based Script with identical id to existing resource overwrites it instead of throwing error
 - ResourceScripts.createMembers() modified to check for duplicate resource id
 - HttpResponseAssert modified to add isDuplicate() for checking duplicate resource errors
 - ScriptResourceCrudTest for verifying above change
LIVEOAK-490 Create REST tests for the resource triggered scripts
 - Update tests for CRUD
 - Add hasNoSuchResource() assert to HttpResponse
LIVEOAK-463: Initial timeout support added for scripting
Merge pull request #332 from mwringe/LIVEOAK-463

LIVEOAK-463: Initial timeout support added for scripting
LIVEOAK-567 Find and fix possible concurrency issues in scripts resources
LIVEOAK-529: Show "Script not available" when no script exist
Merge pull request #334 from ammendonca/LIVEOAK-529

LIVEOAK-529: Show "Script not available" when no script exist