Added documentation and cleaned up logic for addons, widgets and the
main xooie module