Fixed the init() method of lazy primitive classes to make them more efficient

Need to go back to the tag <amp-0.9-20130517> to make hive work with Adatao's embedded shark-0.7.
Also the isNonNumeric() method is refactored to make it easier to understand.