Updated module.js to allow object module definers
and updated tests and readme to reflect this

Signed-off-by: Tobias Sjondin <tsjondin@op5.com>