Committing Ian's updates to the API:

  * Modified API to return results in a
    lazy fashion
  * Changed types for data fields in crosstab
    query to SMALLINTs
Updates to puppet modules: Changed data type to
SMALLINT in data_raw table def and added plpython
Added headers to api results