Add new Input class.  API is similar (but not identical) to K2.

Note that much of the preliminary work is already done by Kohana::init(), hence why this is significantly shorter than its K2 equivalent.

Also, there's no ip_address() function.  This has been moved to Request::$client_ip in K3 (and Gallery has already been updated to reflect this).