Implemented automatic SR-EELS detection and the EFTEMjLogTool.

I used the existing SR-EELS correction and added it to EFTEMj. I have
done only a few changes. The next step is to add the manual detection.

EFTEMjLogTool is a small program to save a process log and show it at a
GenerigDialog. This is only a draft that needs to be extended.
Added the manual detection mode.

As for the automatic detection mode I only copied the existing code.
Some modification were necessary to be able to run the method.

It is necessary to clean up the code.
Added the SR-EELS correction (I reused the existing code).

This code needs to be enhanced. I have to add a method (e.g.
doCorrection()) that can be called from SR_EELS_CorrectionPlugin.
Extended EFTEMjLogTool.

To write log messages an instance of EFTEMjLogTool has to be created.
All messages are written to a local and a global message-buffer. The
global message-buffer is not jet used.
Modified SR_EELS_CorrectionPlugin and SR_EELS_CorrectionOnlyPlugin.

SR_EELS_CorrectionPlugin calls SR_EELS_CorrectionOnlyPlugin for final
processing. SR_EELS_CorrectionOnlyPlugin has to be modified for this
purpose.

SR_EELS_CorrectionOnlyPlugin: I added all necessary comments.

SR_EELS_CorrectionPlugin: I optimised the manual mode.
I enhanced SR_EELS_CorrectionPlugin.

The goal of the enhancement was to optimise the automatic detection. The
code is much more compact now and the optimisation of maxCount is much
more integrated by using a do-while-loop.
Worked on SR_EELS_CorrectionPlugin & SR_EELS_CorrectionOnlyPlugin:

SR_EELS_CorrectionPlugin:
1. Start SR_EELS_CorrectionOnlyPlugin by using IJ.run("Command").
2. Added code to determine the default values of parameters.

SR_EELS_CorrectionOnlyPlugin:
1. Included two methods into correctData().
2. Optimised the calculation of newSpecWidth.
SR-EELS correction has been completed:

1. Both detection modes are fully implemented.
2. Only a few comments and the text for the help dialog are missing
3. The correction plugin is started at the final processing of the
detection plugin (see
https://list.nih.gov/cgi-bin/wa.exe?A2=ind1305&L=IMAGEJ&F=&S=&P=149889)
Created 3 new classes for energy dispersion calibration:

1. SR_EELS_DispersionCalibrationPlugin.java
 - This is a PlugIn implementing ExtendedPlugInFilter
 - A small GUI is used to calibrate an image using different methods
 - The dispersion is taken from the IJ_Prefs.txt
 - The IJ_Prefs.txt is used to store the settings of the last run
2. SR_EELS_DispersionConfigurationPlugin.java
 - This plugin creates the dispersion values at the IJ_Prefs.txt
 - ToDO: create a GUI to add, edit and remove values
3. EFTEMj.java
 - This class will mainly be used to store Plugin specific constants
 - Currently only one constant is implemented, a prefix for key used to
access the IJ_Prefs.txt
Edited plugins.config to add some submenus.
Extended OptimisedStackShifter to handle the borders in different ways:

- crop the image to remove all borders
- set borders to different values (zero, NaN and -Float.MIN_VALUE)
- a new choice element has been added to the parameter dialogs of
DriftDetectionPlugin and StackShifterPlugin
Updated project's eclipse settings (org.eclipse.jdt.ui.prefs):

Changed my name at the copyright template
Merge branch 'DriftDetection'
Merge branch 'SR-EELS'
Updated plugins.config:

- created a new folder "Plugins>EFTEMj>Drift"
- added "draft" to the entry for
sr_eels.SR_EELS_DispersionConfigurationPlugin
(2x) Replaced String[] by an Enum:

The available fit methods and their accuracy are now represented by an
Enum instead of String[].
Display a map of ln(a) instead of a:

A shows high variations. That it is why one has problems setting up
brightness and contrast. Using ln(a9 reduces the variations and makes it
easier the review the map.
removed ".0eV" from elemental map label if there no is decimal place:

Now I use MessageFormat to create the label, which solves the problem.
But now the formating depends on the current locale. I will address this
issue later on.
Transfer calibration to a new image:

The calibration of the input image is transfered to a newly created
image.
Transfer calibration to a new image:

The calibration of the input image is transfered to a newly created
image.