Man in court charged with Inverkeithing 'murder' and 'posses