made modals more generalized. moved timeline code.
more partitioning. bugfixes.
stability. modal watches for data change

stability increased by waiting for ready until we get the document.body.
modal watches input data changes now automatically and asks for confirmation before closal.
watcher_links.
fixes timelines modal changed dialog, now it should only appear when properly initialized

Conflicts:
	app/assets/javascripts/modal.js
moved cancelbutton to timelines modals.
submitbackground improved.
changelog, cukes.
modal with less knowledge. more generalization.
modals now use iframe. bugfixes.
frameborder removed. old stuff removed.
rewrite iframe after modal close.
firstLoad added. Todo: multiple modalHelper!
bugfix, updated tests.
added logout behaviour to prototype too.
fixed logout dialog test.

remove unnecessary code.
layout removed on server side.

layout=false parameter removes menus.
bugfix. url rewriting.