as_pandas failed when the resultset has 0 rows.

This also avoids needing to construct temporary dictionaries for every row, speeding up dataframe creation
Merge pull request #12 from mariusvniekerk/master

as_pandas fails when the resultset has 0 rows. Change to `pd.DataFrame.from_records`