A few minor cleanups

- Use the string method `splitlines()` instead of `split('\n')`
- Use the 'maxsplit' arg for split allowing values to contain an `=` character.
Merge pull request #1 from SEJeff/patch-1

An equals sign splitting bug fixed and some minor cleanup done.