Get core build green again

Adding `connected?` checks doesn't always work. It might resolve
assets:precompile without touching the db but causes other issues on the
build
Point to awesome_nested_set master at github

Get a fix which prevent the gem from touching database when the app is
first loaded. e.g. rake assets:precompile