sync with RSVP.

- performance
- reduced file-size
- bugfixes
- new build system

[fixes #38, #34, #33, #28, #26, #18, #14, #9, #5]