It all began with the Knights Templar. In protecting Christian pilgrims in the Christian Holy Land they offered the service of money transfers. This protected Christian pilgrims from theft. In time, this led to a full banking system with Kings borrowing money to finance their wars. Unfortunately, this grew into financial power, royal debt, and jealous kings. Eventually, the order was falsely accused of heresy, disbanded by the Pope, their members rounded up for torture, and their assets stolen by the kings. Fortunately, not all of the members were arrested and most of their gold was hidden away.
This persecution created animosity between the European powers and the Knights Templar. Theoretically, many of the Knights Templar made their way to Scotland and there established the Freemason Society. The Freemasons worked to bring liberty from Kings who declared divine right, and the Pope who supported the Kings (and vice-versa). Indeed, the establishment of the United States of America was accomplished mainly by Freemasons and the nation was founded upon Masonic ideas (thus making it a Masonic Nation instead of a Christian Nation).
The first general declaration of rights was the English Bill of Rights (see
http://www.yale.edu/lawweb/avalon/england.htm). After that we have the Declaration of Independence of the United States of America. This was important because it declared that everybody was naturally born equal and endowed with by their creator (not necessarily God since Thomas Jefferson did not believe in Jehovah) with certain "inalienable" rights, Life and Liberty and the pursuit of Happiness. However, the individual states also made their own declaration of rights. The best example is the Virginia Declaration of Rights (see
http://www.yale.edu/lawweb/avalon/virginia.htm) which declared that everybody was born free and had certain inalienable rights, Life and Liberty (with property) and the pursuit of Happiness and Safety.
With the drafting of the United States Constitution, a bill of rights was created. These were rights that were safeguarded by the states, but were included in the Constitution so that they would also be safeguarded by the federal government. These were not just rights guaranteed to Citizens of the United States, but were supposed to be natural inalienable rights.
The right to bear arms is from a time when state militia were the norm. The state militia existed to defend the United States against invasion, and to defend the state against oppression by the federal government. There was no military conscription as the possession of arms was commonly considered a necessity. Indeed, a military conscription would have been a contradition to the revolutionary spirit of liberty. The United Nations has declared that people can be conscripted, but what else can we expect for an organization which represents nations? It does not represent the people of the world and so it does not always support our freedom.
The housing of soldiers is a reference to prohibit the maintenance of an army during peace time (relying instead on militia). This was a British concept which the British violated in the colonies. It was also more specifically mentioned in the Virginia Declaration of Rights. The violation today is not only oppressive, but also a financial burden. However, with all the enemies which the United States has created, it is somewhat of a necesity now. Nevertheless, using the army to unjustly attack foreign nations clearly breaks the revolutionary spirit of neutrality. So many of these rights have been forgotten since the War Between the States.
In modern times the United Nations published the Universal Declaration of Human Rights (partly based on the American Bill of Rights). It declares that all people are born free and equal in dignity and rights. Over and over we see that the rights mentioned in the Bill of Rights (with the possible exception of the right to bear arms) are to be enjoyed by all the people of the world, not just Americans, and not just when the government feels like it. These rights are inalienable for everybody reguardless of nationality and no law or government necesity can violate them, period.
3. Everybody has the right to life, liberty, and security of person.
5. No one shall be subjected to torture or to cruel, inhuman or degrading treatment or punishment.
9. No one shall be subjected to arbitrary arrest, detention or exile.
10. Everyone is entitled in full equality to a fair and public hearing by an independent and impartial tribunal, in the determination of his rights and obligations and of any criminal charge against him.
12. No one shall be subjected to arbitrary interference with his privacy, family, home or correspondence, nor to attacks upon his honour and reputation. Everyone has the right to the protection of the law against such interference or attacks.
13.2. Everyone has the right to leave any country, including his own, and to return to his country.
18. Everyone has the right to freedom of thought, conscience and religion; this right includes freedom to change his religion or belief, and freedom, either alone or in community with others and in public or private, to manifest his religion or belief in teaching, practice, worship and observance.
19. Everyone has the right to freedom of opinion and expression; this right includes freedom to hold opinions without interference and to seek, receive and impart information and ideas through any media and regardless of frontiers.
20.1. Everyone has the right to freedom of peaceful assembly and association.
20.2. No one may be compelled to belong to an association.
28. Everyone is entitled to a social and international order in which the rights and freedoms set forth in this Declaration can be fully realized.
29.2. In the exercise of his rights and freedoms, everyone shall be subject only to such limitations as are determined by law solely for the purpose of securing due recognition and respect for the rights and freedoms and others and of meeting the just requirements of morality, public order and the general welfare in a democratic society.