Use erlang.mk
Add a README and update Copyright years
Rename sql_query to query (R16B+).