Small fixes in ADC API

Small bug fixes within both adc.c & .h. The code passes all tests.
The functions are much smaller and performs a single repective task only,
with no safety checks for invalid parameters. New focus is that this check
is up to the programmer (the user of the API). Available macro for checking
valid channel ID's.
Cleaned unnecessary code in tests. They only perform and test a single task.