Implemented 'cast' operator
Added a klass parameter
Implemented the 'ofType' operator
Used 'cast' to remove SuppressWarnings
Used 'isInstance' to replace 'isAssignableFrom' and added a unit test
Merge branch 'master' into cast
Merge pull request #403 from zsxwing/cast

Implemented the 'cast' and 'ofType' operators