Use ~/.ipython as default config directory

As discussed at the dev meeting, we're returning to .ipython on Linux and similar platforms.

The tests for IPython.utils.path could do with some more work to make them properly independent of one another, I think. How do we feel about adding a dependency on mock for Python 2.7? It's in the stdlib in 3.3.