Convert featureType and elementType toLowerCase

Turns out elementType and featureType are case sensitive, where in the normal API this is not a problem.
Merge pull request #291 from koenpunt/patch-1

Convert featureType and elementType toLowerCase