bugfix: fix the "page creation" form on when a page cannot be found
Added support for Custom Comparators

(cherry picked from commit 20c5026d667c498a6c286561cedb37c3277dd015)
Signed-off-by: Bjorn Beskow <bb@callistaenterprise.se>
Merge pull request #333 from benilovj/patch-2

bugfix: when a page cannot be found, "page creation" form doesn't submit
Merge pull request #306 from beskow/customComparator

Custom comparator