Refactor to add wirespec

* Wire.js refactoring
* All views and model files are using wire.js
* Inject dom nodes and get tests running again
* Add readme for UI components
* Update the bower files
* Use wire to load up the templates
* extract rest client into its own module

* fix .gitignore
* add .jshintrc
Move UiResourceIdentifier bean

- Moved UiResourceIdentifier bean from xd-common.xml
  to admin-server.xml as it is only need at the admin server
Fix Test Reports for Skipped Tests

When a test was skipped because, say, Redis was not available
the tests showed as passed in the test report. They should
show as ignored.

Add a call to Assume.

Report now shows:

Test		Duration	Result
testDelete		-	ignored
testFindAll		-	ignored
testInitialState	-	ignored
testSave		-	ignored

Vs:

Test		Duration	Result
testDelete		0s	passed
testFindAll		0s	passed
testInitialState	0s	passed
testSave		0s	passed
XD-900 Phase II - PropertyAccessors to Common

PropertyAccessors are now inheritable in SI contexts.

Instead of adding them to every module, move to module-common.xml.
XD-792 Use SI twitter search support.

TwitterSearchMessage source was a temporary fix to provide
authenticated twitter search until it was supported by Spring
Integration.

However, we still need a customised versions of TwitterTemplate
which can be configured with the consumerKey and consumerSecret as
Spring Social doesn't provide a matching constructor which will obtain
an OAuth2 bearer token internally.
XD-905 Handle container start/stop events

- Publish container start/stop events at XDContainer's AbstractApplicationContext
  where the ContainerEventListners are running
- Renamed AbstractContainerLauncher's applicationContext from deployerContext
  to launcherContext
XD-351: Add aggregate count day resolution.
XD-913 Excluding org.fusesource.fuse-extra from xd-dirt build

Ading testCompile dependency on scala-library
Remove unndeeded scala dep
XD-868 Update SyslogInboundChannelAdapter based on Reactor
XD-887: Module deps management

Enables smart handling of modules dependencies, to use with their
custom classloader.

Eclipse import experience is fine when used with "$>./gradlew eclipse"
then "import as existent (non gradle) project"

It will suffer however in e.g. debug sessions, as jars for modules
won't be on the classpath of the debugged project (typically xd-dirt).
Users will have to "attach source" on a per session basis
XD-870 Add Modules List support to XD

XD-870 Full test code coverage for module commands
Renamed ModuleType.equals to equalsType.  Because Sonar was complaining about it.

XD-870 ModuleHandler is now in correct package.
Was in rest package.

XD-870 Now handles requests made by Code Review

The "in" directory exception is no longer needed.

XD-870 now supports the updates made in XD-887

XD-870 Code Review changes now are available.
Added tests to support classpath for the FileModuleRegistry

XD-870 More Code Review changes are now available.
- ModuleHandler renamed to ModuleRepository
- locateContexts are now locateApplicationContexts
- RedisModuleRegistry.findDefinitions now uses maybeLocateClasspath for classpath resolution.

Code Review changes now available.
ModuleType - now supported by locateApplicationContext for any class extending AbstractModuleRegistry.
Improved CommandTests

testListForSink now checks for time as a source.
previously it was checking for time as sink.

Now supports the merge from Eric.
XD-816: Reactivate composite streams
XD-896 support --inputType and --outputType module parameters
XD-896: Enhanced stream testing and added TypeConvertingStreamTests along with some tweaks to ModuleRegistry
XD-896: Added ContentTypeHeaderInterceptor, JavaSerializingConverter and cleaned up some compiler warnings
restored time source
XD-896:Reverted MessageBusSupportTests
XD-896:changed mime to mediaTypeResoler in  MessageBusSupport
XD-896: Restore MessageBus impls