new tests and api 1.0 returns

fixing core library setup for api 1.5 and 1.0--adding credential and
rightscript objects which will have to call API 1.0 and will start
writing tests on top of them soon...