Added basic digilines/peripheral support as a startingpoint. made test_peripheral as an example, also see peripheral api.