Handle undefined argument type

Fix getTypeString in rest-adapter to handle the situation where
the type is not specified or not a function/string.
Merge pull request #48 from strongloop/feature/resilient-getTypeString

Handle undefined argument type