Added resolveWith and rejectWith. Fixes #6