Error handling in iameta

Still need to log errors somewhere but this handles errors reading the meta data and updating the db. 
@russellholt @jbarrett 
I was thinking that it should exit if there were some problem with the db update, like a unknown column.  It might be better to just catch and log the error though.