configure: Silence npm stderr output

When checking for the optimist package, we weren't piping the standard
error to /dev/null, so we were getting some useful fluff spat out on the
console:

    checking for optimist package... npm WARN package.json walk@2.2.1 No repository field.
    npm WARN package.json github-url-from-git@1.1.1 No repository field.
    npm WARN package.json assert-plus@0.1.2 No repository field.
    npm WARN package.json ctype@0.5.2 No repository field.
    npm ERR! missing: grunt@*, required by undefined@undefined
    npm ERR! extraneous: readable-stream@1.0.17 /usr/local/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream
    npm ERR! extraneous: github-url-from-git@1.1.1 /usr/local/lib/node_modules/npm/node_modules/github-url-from-git
    npm ERR! not ok code 0
    yes
tools/sloccount: Re-indent for 2 spaces

See:
http://google-styleguide.googlecode.com/svn/trunk/shell.xml#Indentation
tools/sloccount: Strip www/ sources

Don't print sloccounts for the www/ sources. So:

    Build system: 1600
    793  configure.ac  (49.56%)
    634  Makefile.am   (39.62%)
    173  autogen.sh    (10.81%)

    Page sources: 10083
    7631  Less CSS    (75.68%)
    2368  HTML        (23.49%)
    84    JavaScript  (0.83%)

    Controller sources: 1938
    1674  PHP (lib)    (86.38%)
    264   PHP (pages)  (13.62%)

    External libraries: 14151
    14151  PHP (twig)  (100.00%)

    Documentation: 3849
    2973  Markdown  (77.24%)
    876   LaTeX     (22.76%)

    Tools: 6773
    3848  Ruby        (56.81%)
    1516  JavaScript  (22.38%)
    921   Python      (13.60%)
    488   Shell       (7.21%)

    Total physical source lines of code: 38394

becomes:

    Build system: 1600
    793  configure.ac  (49.56%)
    634  Makefile.am   (39.62%)
    173  autogen.sh    (10.81%)

    Documentation: 3849
    2973  Markdown  (77.24%)
    876   LaTeX     (22.76%)

    Tools: 6728
    3848  Ruby        (57.19%)
    1516  JavaScript  (22.53%)
    921   Python      (13.69%)
    443   Shell       (6.58%)

    Total physical source lines of code: 12177
tools/sloccount: 0.2.0 update

This adds sloccounts for the new Clojure sources and resources. Example:

    Resources: 7777
    7639  Less CSS    (98.23%)
    138   JavaScript  (1.77%)

    Sources: 1084
    1066  Clojure          (98.34%)
    18    Clojure (tests)  (1.66%)
tools/sloccount: Vertically align output

Force vertical alignment of the numerical values:

    Build system: 1600
       793  configure.ac       (49.56%)
       634  Makefile.am        (39.62%)
       173  autogen.sh         (10.81%)

    Resources: 7777
      7639  Less CSS           (98.23%)
       138  JavaScript         (1.77%)

    Sources: 1084
      1066  Clojure            (98.34%)
        18  Clojure (tests)    (1.66%)

    Documentation: 3849
      2973  Markdown           (77.24%)
       876  LaTeX              (22.76%)

    Tools: 6758
      3848  Ruby               (56.94%)
      1516  JavaScript         (22.43%)
       921  Python             (13.63%)
       473  Shell              (7.00%)
Change port env variable to PORT

Heroku sets the $PORT environment variable, so we can't use the
project-specific $PIP_DB_PORT. Heroku error:

    Error R10 (Boot timeout) -> Web process failed to bind to $PORT
    within 60 seconds of launch
Merge branch 'release/0.1.12'
Merge branch 'release/0.2.0'

Conflicts:
	configure.ac
models/search: Don't create empty queries
Implement true tree-like querying DSL
Add test coverage for query
views/advanced: Remove prototype website warning
Reduce the number of results per page
controllers/search: Limit the number of results

This enforces a limit on the number of results which can be returned by
a query to an arbitrary value (50).

Issue #168.
Provide visual indication of limited results

If a search is performed which returns more than 50 results, a warning
is displayed:

    Limited Results - The number of results has been limited for the
    beta version of the website.

Issue #168.
Merge branch 'issue/168'
Remove global node, npm, and less dependencies

This removes the dependencies on system wide node, npm and lessc
binaries in order to compile the main website. Instead, local copies are
installed in the build/node and node_modules/ sub-directories.
Add a build/bin script

This runs the required autotools commands in order to setup the website.
Merge branch 'tmp/heroku-build'
Format build/bin output

This transforms:

    Running make
    Making all in resources
    make[1]: Entering directory `/home/chris/src/pip-db/resources'
    Making all in css
    make[2]: Entering directory
    `/home/chris/src/pip-db/resources/css'

into:

    ------> Running make
            Making all in resources
            make[1]: Entering directory `/home/chris/src/pip-db/resources'
            Making all in css
            make[2]: Entering directory `/home/chris/src/pip-db/resources/css'