make sure duplicated charts belong the user who duplicated it

which is must not be the creator but also an admin
charts must be published to be public
added another error message
storing domains in global JavaScript
popupChart is now a global function (re-used by mycharts)
added admin view of user charts
refactored bootstrap code to lib/bootstrap.php
fixed ender overlay mask position
added warning message for admins editing others charts
refactored getUnusedRandomId()
fixed chart->unserialize()
bugfix
fixed visualization api
fixed utils/themes.php
spot the difference!
more api tests
added session test
another test chart
added script that generates plenty of charts for testing