major refactor

redesigned inheritance implementation, adding custom constructors,
mixins and statics; *.extend replaced with Q.define
added dom element wrapper with traversal, modification and query API
(query not yet implemented)
replaced dom builder (Q.dom) with basic html templating (Q.tpl, Q.dom)