expandSegments was replaced by pathSegments

which is part of derby-templates and defined in /lib/expressions.js
jshint conformance
whitespace
assume isEmpty means no enumerable properties
Merge branch 'feature/tests' of github.com:wenzowski/derby into wenzowski-feature/tests
small refactor and bug fix of empty object test in event model
Merge branch 'master' of github.com:codeparty/derby