Fixing juju-info relations for non-subordinates.
Fixing juju-info relations for non-subordinates.

Responding to reviews: added tests, comments; clarified code.
Merge branch 'sub-rel-1259720' of github.com:makyo/juju-gui into sub-rel-1259720

Conflicts:
	app/views/utils.js
Merge pull request #39 from makyo/sub-rel-1259720

Subordinate relations were constructed too naively: juju-info is not the only indicator of a subordinate relation.
Update to run unit tests via selenium.

- Update to move the unit tests to their own function test file.
- Update to provide for allowing port specification so that tests can be run
  on specified ports to avoid collisions and make for predictable urls.
- Fix failing IE tests
- Fix the setting up of the json loading paths to work in IE since it didn't
  support location.origin.
- Provide a new makefile target for the unit tests to be started, run, and
  marked as failing/not.
- Update the ci-check to run the unit tests.
- Begin to update the browser-testing docs for the way we're currently looking
  to run them with example commands.
Merge pull request #40 from mitechie/selenium-unit-tests

- Update to move the unit tests to their own function test file.
- Update to provide for allowing port specification so that tests can be run
  on specified ports to avoid collisions and make for predictable urls.
- Fix failing IE tests
- Fix the setting up of the json loading paths to work in IE since it didn't
  support location.origin.
- Provide a new makefile target for the unit tests to be started, run, and
  marked as failing/not.
- Update the ci-check to run the unit tests.
- Begin to update the browser-testing docs for the way we're currently looking
  to run them with example commands.