audiopolicy: Add patch creation tests

Add a test that verifies rejection of bad parameters for
'createAudioPatch'.

Add a test that creates a patch between mixPort and devicePort.

No bugs have been found this time.

Test: audiopolicy_tests
Change-Id: I431e225d9dba0097e3d73796585dbe7f404d1cec
2 files changed