src: More attempts at optimization.
src: More attempts at optimization.

* Moved toPromise into a switch statement for broad type categories and fallthrough tactics.
* Doubled performance of objects by reducing closure usage and exploiting bluebird some.

novacrazy/bluebird-co