refs #17: implement NullablePrimitiveDetector.
remove needless trailing spaces.
Merge pull request #18 from eller86/nullable-primitive

Detector for nullable primitive