Fixes bug with :basename tag in permalinks

When :basename was used for files in the root source directory, one character was removed from the beginning. This fixes this.
Improved naming of basename permalink tags
Merge pull request #119 from florianeckerstorfer/permalink-basename-fix

Fixes bug with :basename tag in permalinks