Compatibility with similar parsers

- Ignore leading and trailing whitespace and dashes
- Removed console.log
- Property names to lowercase
- 2 tests added

Parser now supports this common format:

---
title: foo
date:  2014-05-01 16:36
---