Button - bug fixes, issue #1246

  - Fix incorrect passing of "was clicked" to processInteractiveObjects
  - Button would not return to Over/Out state because of strict too check to catch `undefined`
  - Removed [undocumented] property usage from processInteractiveObjects and slight reformatting
  - Update Button state frames/sounds to remove duplication
  - Updated documentation in Button for consistency
Merge remote-tracking branch 'upstream/dev' into wip-1246b
Changes to preserve original API

- Added @deprecated/@readonly to various some properties but public properties maintain the same semantics
- Also removed some "cleverness"
- Still same good fixes ..
ScaleManager

 - Specific bug fixes (example)
   - Scale modes can now be set independently
   - Switching between fullscreen and normal correctly restores modes
   - Alignment does not incorrectly offset in fullscreen mode
   - Changing scale/alignment promptly refreshes layout
   - `isFullScreen` returns a boolean, as it should
   - Faster parent checks (if required)
   - NO_SCALE should not not scale (vs previous behavior of having no behavior)
   - Correct usage of scaleMode depending on mode

 - Removed / unified code-paths, which helped address several issues
 - fullScreenTarget adjustment/restoration is less brutal
 - Updated documentation
 - pageAlign* works as alignment on the containing element. It should still work were it worked before (so this is not a breaking change) as well as being more universal.
 - Added @protected and @private attributes
   - Some methods were (implicitly) @public even though using them out of context is invalid

 - API Breaking:
   - Renamed some INTERNAL/@private methods
     - Should only affect methods that were not valid/sane to use publically
     - Event callbacks (ie. checkResize changed to resizeWindow) renamed for meaning
   - Changed some INTERNAL semantics to better align with usage
     - eg. `check*` methods separated from response-to-check
ScaleManager - documentation updates
ScaleManager - IE11 & Fullscreen error updates

- Added prefixed event handlers for IE; it still doesn't work in IE, but that is for other reasons
- Added monitoring of the fullscreenerror event, exposed as a fullScreenFailed signal
- Added `supportsFullScreen` a read-only flag that indicates that this ScaleManager even attempts to support such
ScaleManager - backport for API compatibility

- "Backported" some changed API, all marked as @deprecated
- Minor regression fix for `supportsFullScreen`.
ScaleManager - minor fullscreenerror fixes

- IE9 compatibility (no setWindow arguments)
- And removed code that assumpted event.target was the canvas..
ScaleManager - minor fullscreenerror fixes

- IE9 compatibility (no setWindow arguments)
- And removed code that assumpted event.target was the canvas..

(Actually adding the changes this time..)
Browser incompatibility fix - MAX_SAFE_INTEGER

- Number.MAX_SAFE_INTEGER is only defined in ES6 and not currently cross-browser
Merge pull request #1278 from pnstickne/wip-1255

ScaleManager - bugfixes and updates for #1255
Moved ts defs to new home.
Added "property to member" plugin for JSDoc

This automatically fixes usage of the form

    /** desc
    * @property {T} name - desc

To

    /** desc
    * @member {T} name

Being careful to only make the transformation when it is logical to do and preserving both descriptions as appropriate.
JSDoc Property to member - slight combining update
PIXI-in-Docs - Initial

- Initial support for generating PIXI-combined documentation
- Includes yuidoc-to-jsdoc for generating pixi-jsdoc.js
- Creates doc (using pixidoc + builddoc) tasks
- Adds sourceproxy JSDoc plugin to map in corrected file/line meta
- Added yuidocjs as a dev-dependency
PIXI-in-Docs - making jshint happy
PIXI-in-Docs fixups

- Removed hard-coded path (oops)
- Added grunt task (oops)
- Added EOLs
PIXI-in-Docs: prop support

- Added support for nested/ad-hoc properties
- Also cleanup and documentation / limitation notions
PIXI-in-Docs: visibility fix

- Private methods were not being annotated as such
PIXI-in-Docs: fixed line numbers

- Also added support for various additional meta-tags
- Minor code cleanup