fix required repo_type param on repo edit form

--HG--
branch : beta
extra : source : ea5e59cfe6f88aa4abe00cfa2b209918e66f9c10
extra : histedit_source : 4f4adcf2de6b576298d38bf216389ae7171a6e6f
Do read only checks on attach as fork of repo list.
We shouldn't leak  repo names here to which we don't
have access

--HG--
branch : beta
extra : histedit_source : ef5748395d0816bbae51f20cafa2e75c6a8a44b7
show admin menu and list for users who are admins of repos.

- this is consistent with user groups, repo groups displaying.
- fixes 403s after you actually delete a repository being it's admin

--HG--
branch : beta
refactored url.resource to full definition of routes

- id -> gist_id

--HG--
branch : beta
Added show as raw into gist

--HG--
branch : beta
store download archive actions in journal

--HG--
branch : beta
extra : histedit_source : c017fd13deb4bbbf80424bfcb1a132bf74ad2960
fixed mysql issues with index

--HG--
branch : beta
decrease column size for gist_access_id.

--HG--
branch : beta
fix syntax error for py <2.7

--HG--
branch : beta
extra : histedit_source : 9ae4454fb9390b45928061c28ee9f00983be9f5a%2C0068c2ac55cf81983dced142e0c53d2cd83161e8
Use unittest2 for testing

--HG--
branch : beta
extra : amend_source : 09beb01a58d5427ec7ae11d068878e1247a780bb
extra : histedit_source : b0a1962ac41160e260a48e5553516084940a7d6c
added tests for raw gists

--HG--
branch : beta
extra : histedit_source : aa6314117ff7d9536dacb3163cff9d11e5fd6321
codecleaner

--HG--
branch : beta
merged dev into rhodecode-pam

--HG--
branch : beta
fix routing matching order

--HG--
branch : beta
Added --format into gist CLI

- default --pretty format will give a nice message about gist creation
- api_call shouldn't do any printing let the CLI decide about that
- return pure json with --json format

--HG--
branch : beta
lazy load pygments lib so we can use VCS without it installed

--HG--
branch : beta
Use lower level API from mercurial when doing a pull

--HG--
branch : beta
fixes #834 hooks error on remote pulling

--HG--
branch : beta
Fake post-push actions when doing git fetch. It's still want show
what revisions we fetched but at least we trigger the action

--HG--
branch : beta
Explicitly tell fileinput that we use '-' as read source

- minor docs improvements

--HG--
branch : beta