db helpers in root
also simplified in install script.Also refatored to use new db_query_get for single fetches.
includes reflect refactoring.
using google cdn for dojo.