refactor(stateSpec): add spy on .replace method
Merge pull request #1103 from a8m/master

refactor(stateSpec): add spy on .replace method
refactor($state): use map function in get()
fix(travis): update Node version to fix build
State: add support for passing name of relative state to transitionTo function