Added AudioSampleRecorder to the AudioCore

Replaced the AudioRecorder with a new custom, easier to use,
AudioSampleRecorder.
Also, the microphone can now be recorded by the AudioCore.