test/periph_dac: adds a test for DACs

This PR provides a small DAC test-application with which you shoul be able to test #2018. It is based on  #2022.