Add transform.py for translating my notes to sql.

First step. Converts date stamps into proper python dates.

I miss coding in python, but I'm also a bit frightened by how how much I use
list comprehensions, generator expressions and map; this isn't the easiest
piece of code to read.