Added .gitignore
resolve #1, refactor code a little

Implemented #1
Moved plugin code to separate js file
Renamed doPhotoActiveById method to setActivePhotoById
Moved example plugin instantiation from plugin js to
Slightly refactored js code
оборачивание