Allow behaviors to be applied more than once

PR for the issue #624.
I'll clean the commits and update the doc once the code review is done.

@marcj: Hope it looks like what you had in mind :)