Begin move of all Javascript into an anonymous function

Our Javascript is pretty haphazard right now with a few different approaches mixed in one. This starts the process of moving everything into one anonymous function. The script is now introduced in the footer as well so that we don't have to wait for document ready.

Breaking change due to `acm_add_more_conditionals` move, to be addressed in next commit.
Introduce setup_conditional_clicks

Fires as the script loads to setup the various click events required to manage conditionals properly.
Move inlineEditAdCodes in to anonymous function
Remove unused initEditAdCodes.toggle function
Code formatting, use on() vs click, keydown, mousedown
Clear the value of the first entry when cloning for use in addditional conditonals
Consistent use of $ vs jQuery
Merging javascript-cleanup to ad-code-preview