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

Made project compile (as part of larger project) on GCC in Linux, using ...

- 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.