Added functionality for controlling accepted HTTP methods in controllers (through Controller::_acceptMethods). Also added HTTP method and status enumerations.