Update SConstruct file
Use c-string instead of c++ string for localStorage
Fix compile warning of hash_map in OS X
Add a simple localStorage test