escape sql string #495

To avoid sql injection
 #495 - improve BuildFilter to avoid sql injection

* improved compatibility with cakephp conditions array
* add unit test
add to BuildFilter sql injection unit test #495
#508 handle unsupported image format (new icon needed)
#508 big "image" icon (temporary)
#507 fix erasing of the related gallery description
Merge branch '3-corylus' of https://github.com/bedita/bedita into 3-corylus
sanitize session filter when read values #495

also improve unit test
remove to filter old way to do > or < cond #495

to avoid sql injection remove obsolete way to do greater/lesser than condition
#509 fix smarty error
improve sql conditions in FrontendController #495
add more info to response saving quickitem

json response now return detailed object saved instead of just id
fix bug for empty $userdetail.auth_type
Merge branch '3-corylus' of https://github.com/bedita/bedita into 3-corylus
Merge branch 'issue/495-vulnerability' into 3-corylus
fixed filter in Tree::copyContentsToBranch() #495
 #495 - enable csrf protection in Admin

used SecurityComponent and FormHelper to prevent csrf attack
 # 495 use Security form validation only for certain action

since Security automatically validate post and fail if form isn't build with FormHelper
update cakephp to 1.3.19
I18N get text translation update