Add search functionality

Search will now find transactions or blocks if given the hash. From @ericecook
Why are you using JS here? We should probably just use GET method if we want it to make a nice history entry for users.