Fix bug with application destruction.
Update Mapping string representation.
Fix tests according to updated application and mapping API.
Update bbapp API.
Merge pull request #7 from d2rk/master

Fix issue #43