Load theme custom functions prior to the THEME plugins

This lets code in the custom functions to influence the plugins
Update functions.php

Previous flow did generate wrong output when more than one file uses deprecated functions.
Merge remote-tracking branch 'origin/master' into 1.4.6
page validity check not optional any more.
Merge pull request #585 from sphoto/patch-23

Update functions.php
load tagSuggest only on pages where tagSelector() is used
Merge remote-tracking branch 'origin/master' into 1.4.6