NaN when there is no measurement

- Add tests
Declarations reordering and code cleanup.
isAssignedFrom as method to detect numbers
Add explanation about NaN fix to README
Merge pull request #1 from transmart/issues/single-field-projection-type

NaN when there is no measurement