layer right click menu works
right click menus added for energy widgets

with select-all and delete buttons
Copy-pasting works!

Well the raw data part at least
Now need to write a lot of auxiliary code to make it actually work
Paste works fine everywhere
some code cleanup
Cutting and pasting layers works too now
added cut/copy/paste toolbar buttons

test cut/copy for now
layers seem to be ok
entries: testing with number of photons per interval -> seems ok
copy-pasting appears to work fine

needs verification on Linux and Windows and also a native OS X build
also on my todo list before releasing: fix the undo/redo system. When
invalid values have been entered, ensure that no further errors can be
introduced by desensitizing all other widgets. Also restore support for
the undo button in this case: make it possible to go back to the last
acceptable value
invalid entry values now desensitizes everything

now implement undo support for invalid entries
changes to entry error handling: undo support added

also some bugfixes...
timer fixes/verbose xmimsim-db
Merge branch 'copy-pasting-layers'
configure pushed to 4.0