Implemented Connection Weights

Added fields for weight attribute and weight inversion to ForeignKey,
and udated the menus in AttributeMenu and ForeignKeyMenu to support the
changes.
Refactored Dropdown
Edited DemoStreamReader and FileManager to have values for weights.