feat($q): Adds pending(), rejected(), resolved() to Promise.