Make components querystring shorter by using flags mask. Fixes #83

Plus fixes:
- Concurrency between different methods calling querystring on model;
- Avoid hash-history-saved-theme to overlap hash-history-saved-folderName;
Add trailing "/" on "/?" and "/#" urls

- See https://github.com/jquery/download.jqueryui.com/issues/82#issuecomment-12668998;
- Reverts b3b056e3590abf8c2d51f2a0e58822026a5433de;