Merge pull request #2 from jgretz/dispatchAndWait

Added an option to perform a block on a main thread and wait
Added support for BOOL types to reflection

In 64 bit iOS builds BOOL is typedefs to the C99 bool type rather than char.  So BOOL values now have a unique type code of B.