Merge pull request #110 from ssethupathi/master

Re-factoring the build() to call register() in resource state machine and adding unit tests
Protect from NPE's that are possible when transition targets are not valid.
Execute only those commands required for the requested method e.g. commands [ PUT: DoSomething, POST DoSomething ]
Protect against null
Do not crash when a resource is missing.
Use the logger instead of stupidly printing out errors.
Do not crash when a resource is missing. (reverted from commit cb0e5ea375828e4dcc98182ba4755ca817aed9c9)
Put back safe mode with a -D variable to activate it (brp.safe.mode)
Put back safe mode with a -D variable to activate it (brp.safe.mode)
Change the way to skip validation (use -Diris.skip.validation)
Change to "skipValidation"
Move up one level the skip validation
Merge pull request #111 from temenostech/safe_server

Safe server
Fixing getResourceState() for concurrent requests.
Fix for ConcurrentModificationException seen when accessing the embedded server using the URL below shortly after start up.

Embedded Server is now up and running at http://localhost:9081/hothouse-iris/

13:28:32.274 [qtp1217654007-20] INFO  c.t.i.core.rim.HTTPHypermediaRIM - GET /{companyid}/$metadata
13:28:32.278 [qtp1217654007-21] ERROR o.a.w.s.internal.RequestProcessor - An unhandled exception occurred which will be propagated to the container.
13:28:32.342 [qtp1217654007-21] WARN  o.e.jetty.servlet.ServletHandler - /hothouse-iris/Hothouse.svc/GB0010001/
java.util.ConcurrentModificationException: null
 at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859) ~[na:1.7.0_60]
 at java.util.ArrayList$Itr.next(ArrayList.java:831) ~[na:1.7.0_60]
 at com.temenos.interaction.core.hypermedia.validation.HypermediaValidator.validate(HypermediaValidator.java:78) ~[interaction-core-0.5.1-SNAPSHOT.jar:na]
 at com.temenos.interaction.core.rim.HTTPHypermediaRIM.<init>(HTTPHypermediaRIM.java:214) ~[interaction-core-0.5.1-SNAPSHOT.jar:na]
Merge pull request #112 from mtemenos/master

Fixing getResourceState() for concurrent  resource requests.
Add support for loading new properties files at runtime.
Initial POC for dynamically loading new resource states.
Refactoring and general clean up.
Merge branch 'master' of https://github.com/temenostech/IRIS