cleaned code + data-rel hook

Cleaned the plugins code and replace rel="prettyPhoto" with
data-rel="prettyPhoto" for W3C validation