Adding strandedness of hits using arrow caps.
NOTE: Please keep this commit separate from main visualisation code.
We add the strandedness of hits based on the value obtained from hframe.

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

Strand arrow like caps use color of hit rectangle

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Can handle more than one hsp per hit.

* This patch fixes the earlier loophole which showed only one HSP per hit
query.
* A critical bug causing only one query to show up in case of
multi query blast with similar ID's was fixed.
* result.erb now incorporates the changes required to show multiple hsps
  per hit. However, a little formatting fixes might occur later.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Resinstate tabular view of alignments

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Removed extra decimal digits in E value

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Moved total score and min evalue computation to blast.rb

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Can how multiple HSP(s) in overview graph.

* Changes to blast.rb which carry out the conversion of parsed strings
  suitable number formats. Removes to_i kind of code for result.erb.
* Can now display all HSP(s) per hit in overview graphic. The color for
  HSP(s) remain same, and we follow the same gradient display scheme as
  before.

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