testr unit tests for versions api

rename reddwarfapi to api

blueprint testr-unit-tests

Change-Id: Iaaee719d2c5de8982050a5d600ea026178c8b639
Merge "testr unit tests for versions api"