Added the new functions to the Readme.

Added getType and isValidTypes to the API documentation.
Added more tests for getType.

Added test where the constructor of the datatype checked wasn't used.