Added object context to socket methods, bound 'on' method within socket resource, removed socket from global namespace
Fixed frontend bugs, added context to socket functionality accross all controllers