fix(translate): fix translate  directive precedence
test(hubs): assert capacity order on hubs view page
refactor(pageobject): pull alias asserts from page object to test
refactor(arrayAssert): add general promise unwrapper
refactor(basicFlow): stricter assert for facility1 capacity types
refactor(pageobject): add page object for capacity table
refactor(pageobject): pull capacity assert from facility page object
refactor(pageobject): return capacity objects from capacities table
refactor(pageobject): pull capacity assert from hub view page object
refactor(pageobject): simplify capacities table promise chain
fix(dev-api): change mapping from 'test' to 'dev-api'

This avoids url overlapping in in test/demo environments.
chore(*): merge branch 'master' into e2e-refactor

Conflicts:
	application/src/main/frontend/src/app/facilities/facilityEdit.tpl.html
	application/src/main/frontend/src/app/hubs/hubEdit.tpl.html
fix(basicFlow): bind capacity table's type selector into table

Otherwise, types in facility list of hub view are included in the match.
Merge pull request #31 from HSLdevcom/e2e-refactor

E2e refactor
chore(merge): Merge branch 'master' into dynamic-hub-facilities

Conflicts:
	application/src/main/frontend/src/app/hubs/hubEdit.tpl.html
test(hub-facilities): protractor test for facilities table

on hub view and edit pages
Merge pull request #30 from HSLdevcom/dynamic-hub-facilities

feat(layout): list selected facilities dynamically on hub edit page
fix(aliases): fix-spaces-with-dashes=false
test(aliases): test alias with spaces
feat(hubs): list also unattached facilities + protractor tests