Allow OPTIONS HTTP method for all requests and added a handler for requestiong OPTIONS for database root URL.