Update dependencies
Pass element and dependencies separately

Options and dependencies are no longer automatically assigned to the
module, this must be done in the constructor.
Update the README with AMD information
Update documentation for dependencies