Added parse_options.php

A collection of functions to deal with our string-encoded item options.