Normalize form submission event handler

Let's use standard jQuery event handling instead of the "onsubmit" html
attribute
reset replyto in mail helper

as mentioned here http://www.concrete5.org/developers/bugs/5-6-2-1/mail-helper-reply-to-header-set-twice/
getting rid of string concatenation in sql queries
Fix Page::getCollectionPathFromID

getCollectionPathFromID should return the canonical path of a page.

This fix will fix this, by ordering by ppIsCanonical in descendant order,
so that the first row (ie the returned one) is the one with
ppIsCanonical = 1
Merge pull request #1515 from mlocati/normalize-onsubmit-handling-add-collection

Normalize form submission event handler
Merge pull request #1566 from Remo/bind-variables

use bind variables in SQL queries
Merge pull request #1565 from Remo/patch-65

reset replyto in mail helper
Merge pull request #1567 from mlocati/fix-page-getcollectionpathfromid

Fix Page::getCollectionPathFromID
fixing incorrect status message
better validdation in site name
Sigh.
File path disclosure fixes
Merge branch 'master' of git://github.com/concrete5/concrete5

Conflicts:
	web/concrete/core/models/block.php
	web/concrete/elements/collection_add.php