fix #375: application path resolution

change the way application index is built:
only .app files contained within ebin/ and src/ directories
are now used to determine application path - it allows not
to treat application patches as applications.
Merge pull request #377 from deadok22/375

fix #375: application path resolution