Fixing absolute path problem for leaf image after the dog of the leaf is found in search.

Fix: src attribute is retrieved by leafImg.getAttribute('src') instead of leafImg.src

Conflicts:
	js/main.js
Taking out the process to generate a nodelist for a specific dog id from dataFromXML function to dogSpecificXML.

Also re-arranged the order of functions; putting all the search-related functions to the later in the code.