beginning work on 1.1-pre
restructure of core lib + promises support + throw by default
updated tests (and added test cases for promises)