Created a Value Class for checking if an Int or a Double is NODATA

Work in progress. Aims to solve #624
Started work on unifying the NODATA checks and values for types using value classes and implicit conversions.
Continuing replacing nodata checks and returns