Merge pull request #2 from zotonic/master

Add .gitignore file
also ignore .eunit directory
Added an easy convert function