move ResolvedFileContext to separate files

Change-Id: I066ea8aa826c254de82b9591ab4b6eec23665b0d
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>