Refactored LockFile parsing with idiomatic F# folding.

Small changes to the Package record to remove some conditional cases that now can never occur.
Merge pull request #52 from isaacabraham/master

Refactored LockFile parsing