Bug 859662 - Cursor based getThreads(). r=julienw

Conflicts:
	apps/sms/js/message_manager.js
	apps/sms/js/sms_mock.js