optimization, only declare background creation method once
start work on video backgrounds #751
add getTotalSlides #858
test for #858
Merge branch 'dev' of github.com:ht push origin akimel/reveal.js into dev