Added more virtual functions to AudioSource such as looping and offsetting. Also made static sounds use shared_ptrs so that audio buffers can be deleted if no sounds use them.