decouple DocumentObserver from LiveDevProtocol

Change DocumentObserver initialization and move it to a separated file
to make it more testable.

Restore LiveDevProtocolRemote to its initial state by removing
getRelated method and DocumentObserver injection until
we have an extension mechanism in place. DocumentObserver is now being
injected by LiveHTMLDocument as it does for RemoteFunctions.
add initial unit testing for DocumentObserver

add unittests.js file and 1 unit test for related documents.
add unittest.js and unittest-files folder

Initial commit to get the basis for adding tests.
Files under unittest-files were copied from LiveDevelopment-test-files
migrate JS Editing test

not passing but main structure and shared dependencies added.
Merge pull request #11 from sebaslv/tests

Basis for start creating/migrating tests
Comments cleanup and adding .brackets.json
modified reloadCSS to insert the node at correct place in DOM (instead of appending at the end.
modified reloadCSS to insert the node at correct place in DOM (instead of appending at the end.
merged from njx/master.
Merge remote-tracking branch 'origin/master' into develop

Conflicts:
	protocol/LiveDevProtocol.js
	protocol/remote/LiveDevProtocolRemote.js
	unittests.js
addressing some of points in review by @dangoor
add MessageBroker to LiveDevProtocolRemote

Separate handling, routing and implementation of remote commands
at the protocol layer.
add MessageBroker to LiveDevProtocolRemote

Separate handling, routing and implementation of remote commands
at the protocol layer.
Merge pull request #17 from shahabl/feature/css3

modified reloadCSS to insert the node at correct place in DOM .
Merge pull request #18 from sebaslv/remote-message-handling

add MessageBroker to LiveDevProtocolRemote
removing the old DocumentObserver definition (and updating the new one).
Add support for editing JS files (page reload)

Trigger the reload command to the remote page when a
related JS file is saved.
disable code that prevents page reload

Temporarily comment the code that detaches editor when editing
JS files since it prevents the feature work.
- #7 created to fix/track this issue.
move event type from 'event' to msg.method

if the received message has a method property it is used as event type,
otherwise it is trigger as a generic 'event'.
change switch/case style of onMessage handler for individual handlers
per method.
add handlers for Stylesheet.Added/Removed events