Updated with ErlWare's changes.

Contributions from:
 * @ericbmerritt (Eric B. Merritt)
 * @choptastic (Jesse Gumm)
 * @tsloughter (Tristan Sloughter)

See file history here:
 * https://github.com/erlware/erlware_commons/commits/master/src/ec_plists.erl