Add asset pagination

The test in cms covers all the new functionality in common. I'd add tests to common but I already spent over 5h writing this test.

@cahrens @singingwolfboy please review