Fix autocomplete bugs

Fix autocomplete bugs:
1. Validation delay to allow menu click to be processed before blur.
2. Process single value on complete.
3. Improved caching - fewer ajax calls

Misc fixes to be more specific about event handlers.
Revert removal of setcss for repeat groups.
Fix bug stopping validation

Calc and CCD were overriding attachToForm - and icons were not being
set. This fix effectively does a call parent to set the icons.

In addition:
1.  a fix that was preventing success messages being shown more than
once, and
2. improved ajax calling using all Request callback functions
appropriately and handling errors better.
Improve ajax error handling

Improve ajax error handling by using all mootools Request callback
functions appropriately.
Only do page/tab ajax validation if...

there are validated fields on the current page/tab.
Add missing string for form.js
Replace console.log with fconsole
Remove comments after loop }
Add var for local variables
Add Falls Through
JSHint + fix tabs without Start New Page
Fix trigger error.
Move comments to where they should be.
Fix bug in non-clearing success messages
Minor tweaks and a fix for subEl types.
Provide backward compatibility on Fabrik events.
TEMP COMMIT FOR CODE DIFF ONLY.

This puts code back in original sequence (not revised more sensible
sequence) to assist with code diff review.