Replaced the getPageDetails() calls with a faster getPageTrail() Method.
Fixed wrong key when caching the results
Merge pull request #6 from davidmaack/master

Replace getPageDetails calls with an on function to retrieve the page trails.