added possibility to enclose tooltip element inside trigger element (e.g. for table cells), incl. test
Fix for clicking on the next/prev month when it's been disabled via visibility: hidden closes the calendar - target is the root node instead of the button.
Fix for clicking on the next/prev month button hides calendar.

If the next/prev month buttons are hidden via visibility: hidden and the user clicks on the area where the button is after it's been hidden, the click event's target ends up being the root node. The code that checks for this expects the event to be a child of the root node instead of the root node itself, so this patch just adds a check for this.
check each tooltip for existence, fixes issue 349

rather than checking if any tooltips already exist.
this way tooltips on some elements that are reloaded via
ajax calls will continue working. the previous code would
assume all tooltips still exist if *any* of the tooltips still
exist -- even if some of them no longer exist. now, part of a
page may be changed and can have new tooltips created instead
of only the ones for elements that did not change.

resolves: https://github.com/jquerytools/jquerytools/issues/349

Signed-off-by: Adam Mckaig <adam.mckaig@gmail.com>
Merge branch 'master' of github.com:jquerytools/jquerytools
Merge branch 'dev' of github.com:brewt/jquerytools into dev
Merge branch 'dev' of github.com:jquerytools/jquerytools into dev

Conflicts:
	README.md
added quotes for element names in validator, allows names with square brackets, etc
#480: Fixing readonly bug
Fix pattern validator failing on optional fields if pattern doesn't allow empty value (Fix #605)
375: Version C where there is flexibility to add more formatters
Fix validator removing other keyup listeners on inputs after reset (fix #390)
evrard proposition to fix scrollable issue described in #591 (see https://github.com/jquerytools/jquerytools/issues/591#issuecomment-3216475)
Merge pull request #573 from zeroasterisk/dev

Dev: validator with single quotes for bracketed selectors
Merge pull request #625 from rs/validator-optional-pattern

Fix pattern validator failing on optional fields if pattern doesn't allow empty value (Fix #605)
Merge pull request #624 from rs/validator-unbind

Fix validator removing other keyup listeners on inputs after reset (fix #390)
Merge pull request #627 from poxd/master

#591 fix: double scrolling issue when autoscroll is on
Merge pull request #650 from duclet/375c

Fix for Issue 375
When you have a mask currently open and close and need another opened right after. Enables chaining using the onClose callback method
Updated from jquerytools/jquerytools.git