Add Astar plugin to the dev branch

Here is a pull request for the AStar plugin file only. (plugins/AStar.js).
I send you an email, it's maybe easier for you  with a pull request. As you want !
I also fork the example repo.
Working with the dev branch  ! I deleted my 1.2 branch