Renamed basic storage module to memory. Implemented persistant storeage with nstore.

To choose between the implementations provide an object named persistence in the config object passed to the node constructor.
e.g.
  persistence: {
	type: 'nstore',
	location: 'path/to/nstore.db'
  }

Default type is 'memory', which requires no location parameter.