Implemented locals as native types.

Performance from fannkuch is now from 2.5s in interpreted mode to 0.34s.