exposed armrest client options for api users
added additional tests for promises, adjusted lib.