supports python3, moved util functions into __init__
Merge pull request #20 from contextio/python3_port

supports python3, moved util functions into __init__