Equalheight: unit tests and minor tweaks

1. Added unit tests.
1. Added border to equalized elements.
1. Minor performance tweaks to plugin code.