[youtube & jsinterp] Fix signature extraction (fixes #3255)

Some functions are defined now inside an object, the jsinterp will search its definition if the variable is not defined in the local namespace.
release 2014.07.15
Merge branch 'master' of https://github.com/rg3/youtube-dl