added manifest, hooks and fixed requires webnotes/wnframework#351