Small changes on the get metadata file
First stepts towards a wrapper function of bef.getdata
Renames some functions and makes the wrapper work for proposals and
datasets. This is discussed in #6