Fix a bug that PaginatableArray#total_pages returns the wrong value

closes #416
Make num_pages available

It returns the same value as total_pages and you can still use num_pages anywhere in the view.
closes #287, closes #284
use html_safe instead of raw amatsuda/kaminari#73
Merge pull request #418 from zzak/kaminari_73

use html_safe instead of raw
Eliminate ambiguity
An Engine can include app/helpers, so let's move the helpers there

however, leaving the original module as is for now, for Sinatra compatibility...
add active_record_40 to Rakefile :spec task
Test against Rails edge
Test against sinatra 1.4, move sinatra -> sinatra_13
change #page_entries_info to use model name when collection is empty
page_entries_info should use model name Fixes #340 and Fixes #348
limit to require activerecord 3.2.x for sinatra
fix build error in spec with sinatra

The error was 'NameError: uninitialized constant Kaminari::ActionViewExtension'.
revert c7c88c576786d44623423ed3a5d466874a63837f
Merge branch 'issue_340'
clean with transaction
add test for #203
Be sure to bundle AR 3.0.x (under Ruby 1.8.7)
Be sure to bundle AR 3.1
Be sure to bundle AR 3.2.x