Added load_names_from_yaml function.

Added
=====
* New function load_names_from_yaml reads names, objects, quantities,
  etc. from an opened yaml file.
Changed to read names from a file.