improve casperjs types

* add return types
* add some 1.1 functions

A lot of things are still improperly typed as any
works with noImplicitAny now, except for phantomjs dependency