The son of Norway's crown princess has been charged with rape and domestic violence, among other crimes, a prosecutor said.