Barcode scanning:
- identify if barcode isISBN or BIBSYS record id
- Verify ISBN-10 and -13
- Lookup BIBSYS object id from barcode
Fixed bug where search was not being triggered due to missing namespacing of function
Merge pull request #41 from danmichaelo/identifier_search

Barcode scanning improvements
Showing another book, if first book is on loan

There was a problem where the app would show a book that was on loan
even when there were one or more other books available.

Now the app prefers books that are available over those that are on
loan.

If all books are on loan the first will be shown which will be the
newest.
The preference for the newest books as before is unchanged.
Some minor fixes

1. Fixed the issue of period that caused the app hang during a search -
solution doublequote the cql
2. Reduced the height of the image howToScanBarCode.png and the font
size to 90% in the how to scan-description-div.
Changed some handlebar syntax to allow for "book_electronic" and such in index.html
More changes to correctly react to book_electronic, journal_electronic and electronic

bibsearch.js
-Changed exact match "electronic" to indexOf "electronic" so that the
"how to access"/"where is it "-button reacts correctly to
book_electronic and journal_electronic

bibsearch_init.js
-Changed bookformat-handlebar to react to book_electronic and
journal_electronic
-Added Handlebar-helper ifContains, unlessContains and ifItemType

index.html
Replaced ifCond and unlessCond with ifContains and unlessContains to
check for all types of electronic material
fix isbn search bug introduced in 350880260e, improved query building
- fix: 350880260e filled #searchinput1 instead of #searchinput2
- slightly improved isbn testing
- show error message if user tries to scan HEFTID, since we can't
  lookup those barcodes
- use biblionaut.net instead of labs.biblionaut.net for id lookup
  (faster)
- don't escape search term if it specifies index (e.g. bs.isbn,
  bs.dokid)