restful.js: Moved file, implemented the crud namespace with some consolidations.