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
#480: Fixing readonly bug
When you have a mask currently open and close and need another opened right after. Enables chaining using the onClose callback method
Issue #563: Fixed
Merge pull request #670 from duclet/480

Fix for issue #480
Merge pull request #706 from duclet/563

Fix for issue #563
Merge pull request #496 from ewheeler/dev

fix unexpected behavior when calling $('my_selector').tooltip() a second time on altered elements
Merge pull request #497 from brewt/dev

Fix for clicking on the next/prev month button hides calendar
Merge pull request #493 from 0liver/master

Added support for enclosing tooltip inside trigger element (2nd try)
Merge pull request #676 from lagrz/patch-3

Patch 3
Update src/overlay/overlay.js

outerWidth() in jQuery 1.8.2 takes only [true|false] as argument

also works for jQuery 1.7.0
Update src/dateinput/dateinput.js

fixed issue in calculation of top. Probably due to new version of Jquery.
Fix for issue #733
Merge pull request #959 from rabe69/dev

Fix for issue #733