Fixes for asset pipeline.

Remove rake namespace - clashes with rake variable used in precompiling
assets. Make sure the symlinking and theme installation are done before
precompiling assets.