Added pathindex helper & cleanup

Added new replacement Variable
``
{{fullfile}}          # full file name 'home/less/style.less'
{{fileext}}           # file extension '.less'
{{path}}              # path of file   'home/less'
{{filename}}          # name of file   'style'
{{pathindex path 0}}  # name of index 0 in path 'home'
`
Cleaned up javascript ran it through jslint & jshint
Merge branch 'master' of github.com:adamclerk/juggle