[JENKINS-20684] Add `macdef` handling to netrc parser.

Add handling `macdef` definitons in the netrc file to the parser.
Anything following a `macdef` keyword will be ignored up to
the next empty line.