Fix checking for the character title each frame but only on level up
Make --game_data path always include trailing slash

Closes #418

This also adds an error message for when the path doesn't exist.
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.
Don't add slash to USER_PATH_DATA if there is alreay one
Remove alot of logic from the audio subsystem callback which
removes the problem with audio threads modifying containers while
game thread iterates over it.

Fixes issue #425
Use parse_duration() for lifespan attribute of power def.
Fix post_power behavior for hazard powers
Merge pull request #429 from hean01/timeunit

Use parse_duration() for lifespan attribute of power def.
Merge pull request #419 from dorkster/bugfixes

Make --game_data path always include trailing slash
Merge remote-tracking branch 'upstream/master'
Merge pull request #427 from hean01/master

 Remove alot of logic from the audio subsystem callback which