Restructured to add Q.fn support. Added utility method Q.each (undocumented currently).