adding readOptions function from grunt-readme and adding some tests