is there a way to rename a context (with all resources already created in it, and references to it) other than manually? Like a mix task or something alike?
No, but find/replace in your editor of choice should make quick work of it
Aside of what @chrismccord said,
mix xref might be a huge help to find the places that need to change if you consider a simple search and replace as far too dangerous.