moving faye middleware to rails config for better portability