moved OpenAL helper functions to AL object
Merge pull request #1506 from inolen/openal_fixes

move OpenAL helper functions to AL object