Merge pull request #78 from Aintaer/master

Logger: not modifying the arguments
Promise: rectify the callback signature

It used to be given a resolver object, now it is given just the resolve
and reject functions.