Updated REST and SOAP API's to support External Authentication.

- Added a :require_user option to User.authenticate
- Added :timeout option to MiqTask.wait_for_taskid
- Updated REST API to pass HTTP Env and option to User.authenticate
- Updated Appliance Console to extend the Apache External configuration
to be REST and SOAP API aware.
- Properly unconfiguring HTTPD application from appliance console.
- Added REST API and SOAP :authentication_timeout config, both
default to 30 seconds
Needed a variant of this for our Rails 3/4 app,
require 'active_support/core_ext'
Time::DATE_FORMATS.merge!(....)

Works great for the Rails app, unfortunately those initializers are not loaded by appliance console where I need it. We'll stick with above for now.