Refactor Permissions tests into 2 seperate classes

This can be used to test permissions in other
modules, such as WikibaseQuery

Also remove the assumpting all api calls return
a succes... This should not be tested here...

If it doesnt throw an error we assume it has all
worked. Actualy API functionality should be
tested in other tests

Change-Id: I72b019d5099854e811fb72b33e3dffe557ac1128
Merge "Refactor Permissions tests into 2 seperate classes"