Partials output before namespace declaration

Since the 0.9 update, I have seen an issue where the partials are being output before the namespace, and because I am using the option partialsUseNameSpace: true, when the partials are output:

```
// partials
Handlebars.registerPartial("templates/_partial", this["JST"]["templates/_partial"] = ...

// namespace declaration
this["JST"] = this["JST"] || {};

// templates
```

I am not very familiar with this project so I may not be taking other things into consideration with my change, but see the attached PR, it tracks the nsDeclarations separately between the partials and templates.