Improved HTuple support.

* Reintroduced HTuple overloaded functions as some functionality was not
  available when these were removed.
* Fixed name clashes related to methods with same parameter names.
* Added code in HTuple constructor for supporting the creation of HTuple
  from scalars.
* Added test program for 1D bar code detection.