Make newui ready to dev on with closure compiler, plus misc cleanup.

Added env var in dev-server and rules in Makefile to build
all.js with the closure compiler from the js files in newui.

Misc related changes:
-fixed a few closure annotations and added a few as well.
-added missing options to dev-server usage.
-renamed CAM_HTTP_DEBUG into CAMLI_HTTP_DEBUG for consistency.

Change-Id: Ica2c12358150aec24147628201e6f7a5852f9383
Merge "Make newui ready to dev on with closure compiler, plus misc cleanup."
search: rename populateJSONThumbnails to populateJSONAndThumbnails

Change-Id: Ibd4db3909c01c8a352df1875de703c71d657c428
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
search: use a struct for recent items, not manual map

Change-Id: I443983b3689434afc0471a55357a78d03c0bb18f
fs: playing with dynamic directories, seeing how often OS X refreshes

Change-Id: Ic22d59f16f25ced71d06cf22e404ed3c2a1d6e66
search: handler response type cleanup (Issue 99).

Notably, don't mix 'meta' bag keys with rest of response. Makes it easier for both Go and Closure types to not mix keys from one type with another type.

Change-Id: I65e51f2a6c236c5111b5a9b88830e1220d6b29d4
search: move thumbnailSize out into a func

Change-Id: If7d6ab242fe7fcef2174aa9dad12a85a06ce0091