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
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
improve sql conditions in FrontendController #495
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
#511 'userPwdchanged' session var on password change success
#512 invert 'prev' and 'next' page links
#511 hash jobs: override default messages with local instance messages
and frontend messages (if present)
#513 use $object as default on empty $el
#284 fix versioning error - user_created/modified not null
git ignore bedita-app/tmp
#284 - revert commit - wrong branch
#284 revert commit - wrong branch
fix inverse relations labels