changed self.delete to self.delete_key in base_document and document

DocPerm has a field called 'delete'. This clashes with the function name.
Leads to this error:
self.delete("__in_insert")
TypeError: 'int' object is not callable
Merge pull request #703 from anandpdoshi/anand-july-17

changed self.delete to self.delete_key in base_document and document
Error Reporting: Box for additional info, also send Route
Correct way to throw error in frappe.throw
Merge pull request #704 from anandpdoshi/anand-july-18

Fixes in error throwing and reporting
Added babel, allow script report columns and data as a list of dict
localize_date using babel
Query Report: Load Print Format if specified in report's python module