Cleanup + added "dynamics" capability

Content is now "dynamics" ready. Meaning, HTML div tags with an id matching a script name in "dynamics" directory (minus php extention) will be run.

Also, support for <player> <gallery> tags, moves JS and CSS to the right locations unless tag marked with element "method" with a value of "sticky".