Fix checking for the character title each frame but only on level up
Add support for optional soundfx location specification for map event,
if not used map event location is used.

Part of issue #415
Make reset() only stop playback of looping sound.

Make play() to increase sound ref to prevent unload of currently
playing sound and then unload on finishing playback of sound.

Closes issue #415
Add parse_duration() which parses a duration and return the number
of frames for the duration.

Part of #421
Change cooldown and delay to use the new parse_duration()

Part of issue #421
Make use of parse_duration() for cooldown attributes.
Updated map event cooldown to use the new parse_duration().
Remove debug fprintf.
Merge pull request #416 from stefanbeller/bugfixes

Fix checking for the character title each frame but only on level up
Merge pull request #420 from hean01/master

Fixes unload of currently played sounds.
Merge pull request #422 from hean01/timeunit

Adds parse_duration() and updates cooldown to use this.
Merge branch 'master' of https://github.com/clintbellanger/flare-engine