Large deviations analysis of pinning and wetting models