Fixing bugs in Translators

(FloatTranslator) wrong handling of NaN
(LongTranslator) wrong max and min values while translating stuff to SL/JS representation
new option in configs to require a main function

because a main function is required while using the slci macro
added first unit tests for the translator classes