Only render the regenerate under certain conditions.
Make the rendering of the regenerate link respect things.
Make our datastream_access call work and revert change to themeing of version links.
Fix a bug where user_access/namespaces were not getting checked for datastreams.
Merge pull request #443 from jordandukart/7.x-smarter-links

Only render the regenerate under certain conditions.