Made project compile (as part of larger project) on GCC in Linux, using pre C++11.

- Removed 'auto' declaration specifier.
- Order of variable initializtion was changed.
- Some #ifdev Q_PUBNUB_CRYPT blocks are added and changed.
- Some other minor changes to fix warnings.