replace pref with message list api refs #165
replace prev/next in message page refs #165
remove unused controller methods refs #165
workaround for search page refs #165
escape query parameters refs #165
workaround for search page refs #165
remove console.log and fix bug in search page refs #165
modify test to check the number of appended messages
add semi-colon refs #165
Merge pull request #165 from shimomura1004/id/165

use API for pagination refs #165