Fix for "No theme CSS loaded", when galleria is loaded dynamically through JS and AJAX
Galleria may be inserted into the dom dynamically (e.g. via JavaScript loaded from an AJAX-Request). In such a case, the theme's script-tag seems not to be immediately present in the DOM when the addTheme-function looks for it. We therefore try multiple times before raising an error.
Merge remote-tracking branch 'aino/master'
Sometimes, the dummy image was not scaled and centered properly when using lazyLoadChunked().
This was due to the dimensions of the dummy image not being computed in time (with lazyLoadChunked(...)).
We changed the retry method from "retry once after 2ms" to "Utils.wait{ ..., timeout: 100 }" to retry multiple times
  for 100ms.
When attaching a timestamp to a image url, check for query parameters and choose '&' or '?' as delimiter appropriately.
Merge pull request #306 from nknapp/master

Fix for "No theme CSS loaded", when galleria is loaded dynamically through jquery-ui-tabs