Fixes CBPFunctionForSelector and corresponding tests.
Cleans up CBPPromise.
Updates to 0.0.4.