update to rails 4.1, add threadsafe request, add server puma