Changed html class to enforce html5

Signed-off-by: Derek Myers <arcticpro@gmail.com>
Check for HTTP_X_FORWARDED_PROTO in Input::protocol
Merge pull request #1445 from dmyers/feature/html5

Changed html class to enforce html5
Bugfix Format::forge()->to_(json|serialized|php)

Loose typing provokes nullish values to be converted to null. Hence encoding empty array() doesn't work.
Merge pull request #1449 from Savageman/patch-7

Bugfix Format::forge()->to_(json|serialized|php)
Bugfix Image_Imagemagick->_rounded($radius, $sides, $antialias = 0)

If we use imagemagick drivers , the Controller doesn't work.  It create an error command ,and throw "bash: Unexpected symbol `('Incorrect syntax near".
 Bugfix Image_Imagemagick->_watermark($filename, $position, $padding = 5)

 Undefined variable: $image in the line 124.
layout fix in the profiler query analysis output
implemented missing Upload::save() functionality
file index starts at zero, not one
fixed Cache::delete_all (file driver), now it properly recurses
do not delete the cache root on a full delete_all()
Fixed copy/paste error on comment s/Memcached/redis/
Merge pull request #1455 from pconcepcion/1.7/develop

Fixed copy/paste error on comment s/Memcached/redis/
corrected file permissions
take content-type into account when decoding PUT or DELETE requests
fetch HTTP headers only once
added support for "Session-Id" HTTP header; added support for passing plain session-id's
replace non-alphanum characters before checking for numeric keys in Format::to_xml()
re-added support for passing session id's in the URL, re-ordered the check sequence

got missing somewhere..., order is: post,cookie,get,headers