test($resolve): Added test for #1353

This test fails on 0.2.11
fix(travis): make CI build faster

Set max depth to 10
docs(sample): fix typos in sample

manually merged from PR #1342
chore(grunt): Added angular 1.3 karma config
fix(uiView): Made anim work with angular 1.3

$animate changed to promise-based in angular 1.3. Added an adapter which
passes the callback to $animate, but if a promise is returned, uses the
promise. Prior PR was #1345

Closes #1367
Closes #1345