Investing in the stock market? Learn how your shares, investment portfolios, and capital gains impact your mortgage application and deposit in Ireland.