Layed out the recorder module and a testing framework to begin.
Added global of all format type supported by ALSA and used this in the
place needed.
Added PCM hardware parameters to PCM object attributes.  Incorpertated
a generic test to asses all these features are present and booleans.
Added read, pause and resume PCM actions.  I added a period attritube
with tests as well but it apears that the way ALSA handels the period
is unintuitive and it might be better to revise the handeling to be
intuitive.