Add profiling and performance application

A live version of this is can be previewed at http://rawgithub.com/peitschie/WebODF/perf-master/programs/benchmarking/src-index.html.

I've exposed some selection manipulation functions in order to benchmark these. They really should be divided out into a separate class, but I did not want to undertake this right at this moment.