HTML5-mode compatibility + tests, fixes #276
 - Refactoring directive test event handling
Fixes #257
Fixed incorrect encoding/decoding in urlMatcherFactory for parameters.
Also wrote unit tests.
Merge pull request #279 from dkang81/master

Fixed incorrect encoding/decoding in urlMatcherFactory for parameters.
test(state): getConfig
feat(state): getConfig
Merge pull request #295 from excellenteasy/options

getConfig