strip comments from requirements

as explained by @aelgru requirements.txt files may contain comments so
these need to be ignored. Inline comments are not handled right now, I
don't know if these are allowed or not.