Added append and prepend to all sort indexes.

This is not efficient for static indexes, but for rarely updated
indexes whih only grow at the head/tail (say, like created at)
it's a good choice.

Added DynamicSort interface, which skiplist sort index implements.