Merge pull request #9 from aaren/patterns-pr

Restructure to allow arbitrary regex for code block matching.
Added new example
Fixes to script reader

The input is now less sensitive to formatting erros and #+ format both
ends and starts a new chunk.
integration test ipynb
convert to ipython notebook. #11
explicit convert and write, as in pweave. #11
test against good reference