Reverting Commit to fix DOCS-1286

Revert "DOCS-1270: seperating build directory from working set. incremental refactor."

This reverts commit 6327a92531b5f468fac1d664dd119a0a52a852cc.
DOCS-823 change target of search links to same window

Signed-off-by: Sam Kleinman <samk@10gen.com>
cleanup of JavaScript lock in reference pages

Signed-off-by: Sam Kleinman <samk@10gen.com>
minor: editing
trivial

Signed-off-by: Sam Kleinman <samk@10gen.com>
minor: typo fix from @monkey101