fixes bug 981854 - make reports tab paginate and sort with AJAX, r=AdrianGaudebert