rewrite of toggle pattern

- fixing toggling on same element
- removed menu, externalClose and preventDefault options
- add targetScope option
- add tests and make them faster
- complete documentation of options and provide more examples