Merge pull request #511 from rmehta/develop

bugfix in search, added role_home_page and sort_field, sort_order in doctype
added bulk option in frappe.sendmail and header extension