lessified pagetools items, added mixins simplify maintenance
Fix a couple of bugs in ACL substitution mechanism

- %GROUP% & %USER% can now both be used in the same rule, e.g.

%GROUP%:%USER%    2

- rules with tokens will be skipped when the user is not logged in
  previously %USER% was attempted
fix a bug in acl manager where it attempted to correct too high page permission levels using the wrong var
use only one mixin name for pagetools

less will use the right one based on parameter counts
corrected comment in pagetools-item() mixin
Merge pull request #259 from splitbrain/lessify-pagetools

Lessify pagetools
fixed cleanPath bug in tar library FS#2802

This time the test case was correct and actually showed a bug in the tar
library. The error occured only on the first build (directory build/0/)
where the zero was stripped from the path name.

I added unit tests to the cleanPath function and discovered another bug
with handling relative directories. I rewrote the cleanPath() function
and now it should finally work.

Unit tests FTW!
Merge pull request #261 from splitbrain/acl_tokensubstitution_fixes

Acl tokensubstitution fixes
Merge pull request #260 from lupo49/master

Populate global variable JSINFO also in the Media Manager popup / Replaces \r\n with \n
This commit adds two new checkboxes to media manager popup. One allows to
show only own uploaded media files and the other to show only recently
uploaded (within last hour) files.

This is a first approach and should probably discussed...