Improved validation of input based on different types.

Resolves issue:
https://github.com/krakenjs/swaggerize-express/pull/18

Also accounts for express issue:
https://github.com/expressjs/body-parser/issues/44
Addiditional tests.
Merge pull request #20 from tlivings/master

Improved validation of input based on different types.