Collect the interactions (method) for state name when registering a new resource.
Added some useful log output and made some exception output quieter when resource states and transition targets do not exist.  This only happens when the interaction model is invalid e.g. a transition to a string defined resource name, this cannot be validated at design time, only caught and logged at runtime.
Seems it is not possible to leave the transition target pointing to the lazy resource state; we therefore lose the name of target state by the time we attempt to create the link.
Adding unit test for the methods by interactions map and re-factoring resource state machine to make build() to call register()
Merge remote-tracking branch 'remotes/temenostech-iris/master'

Conflicts:
	interaction-core/src/main/java/com/temenos/interaction/core/hypermedia/ResourceStateMachine.java
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]