Added Json support for POST and PUT operations in restful controller.

Change-Id: I11963778fa99d1dd1c523203c25d5a9f53958310
Replaced Zend\Json\Decoder::decode with Zend\Json\Json::decode

Change-Id: Iac885dbf1511dfb8087d7f3586ae845e071b26c5
Added protected contentTypes array and requestHasContentType function

Change-Id: I222617c77b3942fdc5b8263b827c1c58dab570b7
Do not change element object during extract
Fix whitespace
Added the support of Apache's passwords
Merge branch 'release/2.0.6'

Prepping for 2.0.6 release
support nested error handler
Added one-liner rendering for full forms
File upload rename filter rewrite; Misc cleanup of File/Rename filter
CS fixes
Adding failing test demonstrating that the helper does not call 'prepare'
Fixing test introduced in @0b89787
Di fix, retriving same shared instance for different extra parameters, #3192
Code style fix, add braces to BasicClassWithParent.php
Code style fix, trailing_spaces
Update library/Zend/Mail/Transport/Sendmail.php

change key for additional_parameters argument

fix: 
sendmail error
sendmail: illegal option -- r
sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [ arg ... ]
Allows several translation files for same domain / locale 
invoke fix
Fixed an error of indentation