Added option for setting metadata with custom prefixes. GitHub #164

Removed forced lowercasing of metadata keys. Also cleaned some comments.