Python port of node's minimist module