Merge pull request #33 from tsapeta/0.4.x

merge 0.4.x into 0.5.x
a lot of changes in the structure of the library
one of $.each instructions has moved up
update .gitignore
small fix in "on" function
increased version to 0.5.0
Merge pull request #34 from tsapeta/0.5.x

release v0.5.0