adds synchronous query ability

- updates documentation comments
- fixes all tests
- exposes promise and sync based query instances
- updates bundle compile tasks