Geometrically-necessary dislocation density in continuum plasticity theory, FEM implementation and applications