Real-space grids and the Octopus code as tools for the development of new simulation approaches for electronic systems