initial commit of script to extract .dat files from .nxs

 * for ISPyBB and I suppose the users will like it, too
chop into methods, start adding parameter parsing

 * check paths, use default ratio for errors if no data
put it all together with parameter passing, arguments

 * also fix the check whether keys exist using h5py methods
fix folder separator and file name issues

 * it now works!
add ability to get filenames directly

 * to be used with runAnalysisAndPutIntoDatabase so that the curve info
   can be populated
add ability to store curves into ISPyB

 * use extractDataFromNexus to get .dat files from results .nxs file

Conflicts:
	plugins/uk.ac.gda.devices.bssc/scripts/runAnalysisAndPutIntoDatabase.py
extract curves into separate folders per data collection ID
add background errors so that background plot will show up
store number of files averaged and merged

 * assume all files are used, so use the number of filenames in the
   curve list

Conflicts:
	plugins/uk.ac.gda.devices.bssc/scripts/runAnalysisAndPutIntoDatabase.py
add ability to extract and store background files
add background file to analysis script
put in numpy and background filename for extracting curves in analysis
SCATTER-300 add concentration, MW to ISPyB population methods
SCATTER-300 implement concentration and MW into ISPyB

 * running BioSAXSISPyBviaOracleTest showed the mass being shown in 
   Macromolecule/Edit page, and concentrations in Data Acquisition/
   select experiment, then the overview page, both in ISPyBB
SCATTER-295
Only create new samples for the default editor if it dosen't exist in the default project location (/data/xml)
SCATTER-201
Only open the deafult editor if the pserpsctive is activated and no editors are open or if the last editor is closed in the perspective
SCATTER-295
Remove call to open default editor, this will be done from the perspectiveActivated method in the BioSAXSSetupPerspective
SCATTER-94
Removed uneccessary code
SCATTER-201
Removed unnecessary code
make sure running state is sent

Conflicts:

	configurations/ncdsim-config/processing/biosaxs.sh