Update travis
Add asType in Definition
Move type validation to TypeValidation class
Add TypeValidationTest
Add InMemoryCacheTest
Update travis
Merge pull request #2 from onoi/travis

Update travis