refactor($q): make $q Promises A+ v1.1 compilant

Refactor to make $q Promises A+ v1.1 compilant
I'm not positive, but it seems like undefining this should cause problems for late handlers