Fix setting default locale and exception encoding

I was having issues on my OSX 10.8, python 2.7.5 system where exceptions were not correctly reporting.

```
Traceback (most recent call last):
  File "/usr/local/bin/pelican", line 9, in <module>
    load_entry_point('pelican==3.3', 'console_scripts', 'pelican')()
  File "/Users/russ/Projects/repositories/pelican/pelican/__init__.py", line 393, in main
    msg = msg.decode(locale.getpreferredencoding(False))
LookupError: unknown encoding: 
```

The boolean argument is `do_setlocale` according to the python documentation says this:

> On some systems, it is necessary to invoke setlocale() to obtain the user preferences, so this function is not thread-safe. If invoking setlocale is not necessary or desired, do_setlocale should be set to False.

The boolean argument should be omitted to ensure the error message is in the user's default encoding not the blog's encoding. Which I think should be the desired outcome, just because my blog uses some other encoding (why it would use anything other than UTF-8 I have no idea), I'd still want the error messages to use the system's encoding.

From looking into this deeper I found out that the default locale is not set like the docs and comments specify. Fix is included.