Added the 'memoize' decorator to BasicObject

--HG--
extra : amend_source : 470930b4e3bd9fcb0dd3471126d30c161b25a1ab
Added parsing of negative integers and floats