Fixes namespaces on constructor protytpes

For example, the following documentation would not allow for
navigational differentiation between q and q#b when viewing the overview
for each. I.e., if the user is viewing q#b, the menu might be open for
q, or vise versa.

```javascript
/**
 * @constructor
 */
var q = function(){};

/**
 * @memberof q
 */
q.prototype.a;

/**
 * @memberof q
 * @namespace
 */
q.prototype.b = {};

/**
 * blah blah
 */
q.prototype.b.c = {};
```