Adds .timeout method to promises returned by $q service