Adds functionality to find_MAP, allowing for the use of minimization functions
that do not require a gradient. Also adds basic tests for find_MAP. Addresses
concerns in issue #396.
Fix python 3 compatibility

Use __code__.co_varnames instead of func_code.co_varnames, for python 3
compatibility. Should pass travis CI testing now.
Fix summary for 1 value variables (python 3)

In python 3, running pm.summary on one value variables (1d traces) give
an error (line 123 of trace.py):

  TypeError: type numpy.ndarray doesn't define __round__ method

Running this code on python 2 versus 3 will reproduce the error (numpy
1.9.0.dev-74e5c12).

  import numpy as np

  x = np.arange(4)

  index = None
  mean = x.mean(0)
  print(round(mean[index], 3))

To avoid this, I have changed the code to use the following method for
1d traces.

  import numpy as np
  x = np.arange(4)

  index = 0
  x = x[:, None]

  mean = x.mean(0)
  print(round(mean[index], 3))

The commit also moves stats calculations outside the trace index loop to
avoid unnecessarily repeating them.
Warn if try to summarize variable greater than 1d

Trying to summarize a variable with greater than one dimension results
in an error (trace.py 121):

  TypeError: type numpy.ndarray doesn't define __round__ method

With these changes, variables above 1 dimension are skipped and a
warning is given.
Move summary function to bottom of trace.py

To avoid splitting up NpTrace and MultiTrace
Rewrite trace.summary

Main changes
- Do not use `+=` to build lists for output
- Use str.format to control spacing/padding
- Use str.format to control rounding
- Don't overwrite builtin `buffer` (python 2)
- Combine common code for stats and posterior quantile output
- Split summary into separate functions/classes to make it easier to test
Merge pull request #401 from kyleam/fix-summary

Fix summary
Depend on Theano>=0.6.1dev instead of <=.
Updated Theano dependency to 0.6.0rc5.
Update theano dependency to 0.6.0rc5

0.6.0rc5 (which supports python 3) is now on PyPI, so dependency link is
no long needed.
Merge pull request #405 from kyleam/theano-upgrade

Update theano dependency to 0.6.0rc5
Use `getargspec` and `close_to` rather than handmade

Updates the search for fprime to use `getargspec`. Also uses `close_to` rather
than asserting a handrolled boolean.
PEP8 Fixes
More PEP 8 Fixes

Cleaned up a few more PEP violations
Calling Pool.close() in psample to fix #407
Merge pull request #408 from pymc-devs/psample_fix

Fix for orphan processes in psample
Merge pull request #398 from bjedwards/master

Adds functionality to find_MAP
Added changelog.md per #409
Merge branch 'master' of github.com:pymc-devs/pymc
Added flag in traceplot for turning off distracting gridlines in histogram