exclude EntityPerPageBuilder test

Change-Id: If99202f1f890fb71ff09540332503c7478007550
Refactor EntityPerPageBuilder and test

minimizes database usage in these tests

Change-Id: Ic48599263b94d0f31cf641f9a62b6e194b2cfde1
Merge branch 'noapitests' of github.com:filbertkm/Wikibase into noapitests