Added number of pages to papers endpoint response header
Removed use_debugger from backend run mode during testing. It's a REST API it's useless anyway
Though the Papers service in the fronted to use the number of pages returned by the API