Indentation.
Declare socketConfig variable

Fixes `ReferenceError: socketConfig is not defined` when using Redis pubsub
Repaired controller config and policies
0.9.2
Merge pull request #611 from Cacteye/patch-1

Declare socketConfig variable
Fix views config generation