Update TypeScript API

- allow state params definitions as an array or object
- add missing reloadOnSearch field
- simplify ITypedState interface
- fix a whitespace consistency issue
fix(ArrayType): fix .equals for array types

Closes #1538
fix($urlMatcherFactory): fix mixed path/query params ordering problem

If a state defined a query param and a substate defined a path param, the URLs were generated and matched in the wrong order.  A substate creates its UrlMatcher using .concat() and a concat()'d UrlMatcher assumed the parent params order mattered.  Switched to populating an array of params in the order they were parsed in UrlMatcher constructor.

Closes #1543
Update angular-ui-router.d.ts

I think you lost _reload_ property from IStateOptions. Correct me if I'm wrong either please issue new version do we could use it in our project.
fix(ArrayType): specify empty array mapping corner case

Empty array is mapped to undefined.

Closes #1511
fix(Param): fix default value shorthand declaration

Closes #1554
fix($urlMatcherFactory): fix encoding slashes in params

Closes #1119
Merge pull request #1550 from akserg/patch-1

fix(typescript): add reload to typescript defintiion
test(state): fix karma test for angular 1.0.8
test(UrlMatcher): fix karma test for angular 1.0.8
Merge branch 'master' of https://github.com/angular-ui/ui-router
fix($state): fix $state.includes/.is to apply param types before comparisions
fix(uiSref): made isMatch delegate to $state.is/.includes with params

- Made is/includes use state.params.$$values() to encode values before comparison.

Closes #1513
Merge pull request #1522 from adidahiya/tsd

fix(typescript): Update TypeScript API
fix(ie8): fix calls to indexOf and filter

Closes #1556
Merge branch 'master' of https://github.com/angular-ui/ui-router
fix(): Avoid re-synchronizing from url after .transitionTo

Closes #1573
fix(): Built-in date type uses local time zone
feat(): add json parameter Type
fix($urlMatcherFactory): add 'any' Type for non-encoding non-url params

- Allow arbitrary data be passed to a state as a parameter. Do not attempt to encode/decode the parameter.
- Store the location of the parameter: either "search", "path", or "config" (non-url params are "config")

Closes #1562
test($state): non-url 'any' object params, json params, array params
chore(lint): linted