Merge pull request #30 from AuspeXeu/fixunspool

Automatic unspooling should only be performed when leave method was successfull or not present at all
add some more API functions
id is also a setter
provide an example what type of string is returned
Merge branch 'master' of https://github.com/rse/componentjs
finally remove the external hook API because we never used it AFAIK in any real project until now (it was not even well documented)
be friendly also to Node environments and use alert() only if existing and fallback to console.log
fix typo
support bullet point lists in first-level blocks of API to better render the content
support bullet-point lists also for the description of individual methods
on publish to not spread the event by default to improve performance
document more Event aspects
export (again) the attach/detach functionality to allow applications to migrate a sub-tree from one parent component to another parent component
provide an additional plugin for an experimental functionality: easy migration of components within the tree
give plugin the correct name
fix command pattern's async functionality (internally still unused, but better to be correct for the future)
remove async option from register() because it cannot work at all because services are synchronous by definition and asynchronous operation has to be implemented through explicit callbacks by application anyway
finish the API documentation by removing the last two FIXMEs
fix parsing of last block of API documentation
provide margin also to list blocks