Personally I think the 2nd Amendment pertained mostly to the fact that at the time there was no National Guard and that it was expected of able bodied men to form a militia. I also think it was to point out that most people in the 18th century used firearms on a daily basis to procure food for their families. It most likely was put into documentation as both a way of life and a cultural icon.
Don't forget that part of the reason that people were expected to be able to form a militia was to help keep the US Government in check. That National Guard was actually a State Guard.