Discover ref automatically. Exclude .git and .svn.
tweaks to theme favourites script (bug 863758, bug 865860)
add thread and note api (bug 879545)