Cease use of livequery() function in core appplications

Run comment autosave on document ready
Livequery was not needed in this case but was used as a means of deferring
the execution of the `autosave()` function as the load order was wrong.
`autosave.js` is now instead loaded before `discussion.js` to fix this
issue.

Don't use livequery for autogrow on textareas
Instead attach it at document ready and then again whenever one of the
specified events are fired.

Attach autgrow only on document ready on post pages
Since there are no dynamically loaded textareas on the "Post" pages, we
can attach autogrow as soon as the document is ready and not worry about
having to attach it again later on.

Run discussion autosave on document ready (similar to 81007d3)

Attach autogrow on document ready on conversation pages

Don't use livequery for toggling draft delete buttons on hover
This currently assumes that new drafts aren't added dynamically to the
drafts list.

Nuke draft delete button toggling

Don't use livequery for hiding password reset input in dashboard

`.MorePager` should never be using livequery

Remove unneeded code (activity delete button toggling)

Safeguard against `autogrow()` not being available

Safeguard against `autosave()` not being available
Merge branch 'master' into livequery-deprecation

* master:
  Drafts: filter your draft names, closes #1672
  Drafts: verify ownership in editdiscussion for #1672
  Module: don't fatal if not visible
  Core: added check for JS library dependency in atmentions. Currently the atwho library only loads within the Vanilla application.
  Bump version to bust js cache.
  Fix logic problem where embed would only embed on connect pages rather than not embed on connect pages.
  Fire an event for a conversation with a specific type.
  Announce fix: array_merge renumbers numeric keys which reversed options on post form
  Version bump for js.
  PromotedContent: typo in helper_functions
  PromotedContent module: typos
  merge core:stage file into master.
  Getty embed: addtl chars allowed
  Getty image support
  Pass strings through T() for translations
Fix event trigger joining
Merge branch 'master' into livequery-deprecation

* master:
  Fix typos in conversation view event.
  Fix issue where type is required when adding a tag from the dashboard.
Merge branch 'master' into livequery-deprecation

* master:
  Bump Tagging to 1.8.7
  Tagging:  array was overwriting itself with own indexes in loop, resulting in ['DiscussionID'] becoming a string, which cannot be unset.
  Reset tag cloud list style and padding Future themes should not (and mine already don't) pollute the global scope with `<ul>` and `<ol>` resets. Both for semantic reasons, but also because we need to reconsider our use of lists.
  Tagging: Join discussion tags in the tagging plugin.
  Fix bug related to theme URLs in the dashboard If a URL is provided in a theme's `about.php` file, it would be output in the dashboard using the `url()` function, with the first argument being the theme name and the second being the URL. That however won't work—there seems to have been a mix up between `url()` and `anchor()`.
Merge branch 'master' into livequery-deprecation

* master:
  CLeditor: changed background default to white so it doesn't clash with dark backgrounds
Merge branch 'master' of github.com:vanilla/vanilla into livequery-deprecation

* 'master' of github.com:vanilla/vanilla: (174 commits)
  Core: shortened inline comment.
  Core: instead of checking against SocialIcon CSS class, check against a more general CSS class, so that social sign in links in embedded forums are more robust.
  Core: conditionally define target for social sign in anchors for forcefully embedded forums.
  Core: added another condition to linkify/embedify method.
  Core: added config check to disable URL to video embed transformations. This was prompted by a need within the Signatures plugin.
  Remove old readme
  Further compress theme and plugin images
  ProfileEx: fix required version
  Compress select images further
  README notice for cloners
  Change to 3 spaces indentation in Mark All Viewed
  Add sprites to Mark All Viewed MeModule menu links
  Add SpInvitations Sprite to Invitations link
  Increase width of entry section content.
  Fix .travis.yml typo and git repo protocol
  Check coding standards compliance using Travis.
  Bump version to 2.2.11.2
  Scale down icon-only social icons.
  Bump version to 2.2.11.1
  Fix social icons when used in mebox
  ...
Merge branch 'stage' of github.com:vanilla/vanilla into livequery-deprecation

* 'stage' of github.com:vanilla/vanilla:
  Version minor increment for cache
  Fix docblocks in ConversationModel
  Conversations: simplify new translations
  Conversations: Add inheritance w/CheckForSpam; fix count bugs
  Conversations: tokenLimit fixes
  Conversations: implement MaxRecipients in tokenizer
  Conversations: implement MaxRecipients in Add form
  Conversations: Add MaxRecipients logic for AddPeople module
  Markdown: change default to preserve newlines
  Markdown vendor upgrade
  Removed livequery dependency for loading textarea autosizing. Using pertinent events for binding functionality instead. Updated gdn.autosize wrapper to more intelligently decide when to attach and when to trigger a resize.
  Introduced textarea autosizing functionality to missing areas of forum, such as on profile and in the dashboard, by including query.autosize.min.js file. The entire forum should now automatically resize all textareas. Made sure that the JS for loading this functionality is all in one place (global.js).
  Updating core text area autosizing library.

Conflicts:
	applications/conversations/js/conversations.js
	applications/vanilla/controllers/class.discussioncontroller.php
	applications/vanilla/controllers/class.postcontroller.php
	applications/vanilla/js/discussion.js
	applications/vanilla/js/post.js
Merge branch 'stage' of github.com:vanilla/vanilla into livequery-deprecation

Conflicts:
	applications/vanilla/js/discussions.js
Merge branch 'stage' of github.com:vanilla/vanilla into livequery-deprecation
Merge pull request #1942 from vanilla/livequery-deprecation

Livequery deprecation