Escape sequence ids in sequence retrieval links.

Additionally, introduce ability to order the links and add custom CSS classes.

[ap: commit message]

close #112

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>