implemented a simple plugin system
removed the node core modules which aren't properly implemented
resolveInternal to allways return a string
update example to use plugins
remove leading dot from extensions