Show actual SQL instead of query string in db modal

edit: actually include the data.js file. :p
edit: put return results into obj

Change-Id: Ib6e2a70aaaed70d0c574c42b02ef9e08f4d2bbab